Proper fix for #2163.

This commit is contained in:
Ludovic Marcotte committed 2013-01-11 09:55:10 -05:00
1 parent 0e0b7728fd
commit 9d4f4c3a9c
7 files changed
+27 -15

No files matched your search

+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"];
}