opendid part2

This commit is contained in:
Hivert Quentin
2025-02-27 09:21:54 +01:00
parent 912ab12165
commit db72c27980
31 changed files with 1586 additions and 459 deletions
+2 -10
View File
@@ -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];
}
}