mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-22 07:14:21 +00:00
feat(openID): second part with a lot of fixes and cleaning
This commit is contained in:
1 parent
9017c85581
commit
b864c55a8a
34 files changed
+1539
-448
No files matched your search
+2
-10
@@ -327,17 +327,9 @@ static BOOL debugLeaks;
|
||||
}
|
||||
|
||||
//Create mandatory openId table, if used
|
||||
if([[defaults authenticationType] isEqualToString: @"openid"])
|
||||
if([defaults hasOpenIdType])
|
||||
{
|
||||
value = [defaults stringForKey: @"OCSOpenIdURL"];
|
||||
if (value)
|
||||
[[fm openIdFolder] createFolderIfNotExists];
|
||||
else
|
||||
{
|
||||
[self errorWithFormat: @"No value specified for 'OCSOpenIdURL' for auth mode %@", [defaults authenticationType]];
|
||||
ok = NO;
|
||||
}
|
||||
|
||||
[[fm openIdFolder] createFolderIfNotExists];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user