mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-19 18:35:25 +00:00
refactor(web): replace SOGoGoogleAuthenticatorEnabled with
SOGoTOTPEnabled Fixes #5294
This commit is contained in:
@@ -228,6 +228,7 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
@"SOGoReminderEnabled", @"ReminderEnabled",
|
||||
@"SOGoReminderTime", @"ReminderTime",
|
||||
@"SOGoRemindWithASound", @"RemindWithASound",
|
||||
@"SOGoTOTPEnabled", @"SOGoGoogleAuthenticatorEnabled",
|
||||
nil];
|
||||
[migratedKeys retain];
|
||||
}
|
||||
@@ -567,14 +568,14 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
return [self stringForKey: @"SOGoAnimationMode"];
|
||||
}
|
||||
|
||||
- (BOOL) googleAuthenticatorEnabled
|
||||
- (BOOL) totpEnabled
|
||||
{
|
||||
return [self boolForKey: @"SOGoGoogleAuthenticatorEnabled"];
|
||||
return [self boolForKey: @"SOGoTOTPEnabled"];
|
||||
}
|
||||
|
||||
- (void) setGoogleAuthenticatorEnabled: (BOOL) newValue
|
||||
- (void) setTotpEnabled: (BOOL) newValue
|
||||
{
|
||||
[self setBool: newValue forKey: @"SOGoGoogleAuthenticatorEnabled"];
|
||||
[self setBool: newValue forKey: @"SOGoTOTPEnabled"];
|
||||
}
|
||||
|
||||
- (void) setMailComposeWindow: (NSString *) newValue
|
||||
|
||||
Reference in New Issue
Block a user