mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
Proper fix for #2163.
This commit is contained in:
@@ -171,8 +171,15 @@
|
||||
return [self stringArrayForKey: @"SOGoContactsDefaultRoles"];
|
||||
}
|
||||
|
||||
- (BOOL) forceIMAPLoginWithEmail
|
||||
//
|
||||
// In v2.0.4, SOGoForceIMAPLoginWithEmail was renamed to SOGoForceExternalLoginWithEmail
|
||||
// but we keep backward compatbility for now with previous versions.
|
||||
//
|
||||
- (BOOL) forceExternalLoginWithEmail
|
||||
{
|
||||
if ([self stringForKey: @"SOGoForceExternalLoginWithEmail"])
|
||||
return [self boolForKey: @"SOGoForceExternalLoginWithEmail"];
|
||||
|
||||
return [self boolForKey: @"SOGoForceIMAPLoginWithEmail"];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user