mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-24 06:30:32 +00:00
opendid part2
This commit is contained in:
+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