mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 18:18:12 +00:00
Fix SOGoLoginModule when set to "Last used"
This commit is contained in:
1 parent
af8f939559
commit
734d680708
2 files changed
+6
-1
No files matched your search
@@ -283,7 +283,7 @@ static SoProduct *preferencesProduct = nil;
|
||||
if (![[defaults source] objectForKey: @"SOGoMailDisplayRemoteInlineImages"])
|
||||
[[defaults source] setObject: [defaults mailDisplayRemoteInlineImages] forKey: @"SOGoMailDisplayRemoteInlineImages"];
|
||||
|
||||
// Populate default mail lablels, based on the user's preferred language
|
||||
// Populate default mail labels, based on the user's preferred language
|
||||
if (![[defaults source] objectForKey: @"SOGoMailLabelsColors"])
|
||||
{
|
||||
SOGoMailLabel *label;
|
||||
@@ -356,6 +356,10 @@ static SoProduct *preferencesProduct = nil;
|
||||
[values setObject: vacation forKey: @"Vacation"];
|
||||
}
|
||||
|
||||
// Don't expose SOGoRememberLastModule;
|
||||
// User can edit SOGoLoginModule but SOGoRememberLastModule is managed internally.
|
||||
[values removeObjectForKey: @"SOGoRememberLastModule"];
|
||||
|
||||
return [self responseWithStatus: 200 andJSONRepresentation: values];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user