Proper fix for #2163.

This commit is contained in:
Ludovic Marcotte
2013-01-11 09:55:10 -05:00
parent 0e0b7728fd
commit 9d4f4c3a9c
7 changed files with 27 additions and 15 deletions
+8 -1
View File
@@ -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"];
}