mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 10:54:17 +00:00
refactor(web): replace SOGoGoogleAuthenticatorEnabled with
SOGoTOTPEnabled Fixes #5294
This commit is contained in:
@@ -1002,7 +1002,7 @@ static NSArray *reminderValues = nil;
|
||||
return [NSString stringWithString: SOGoVersion];
|
||||
}
|
||||
|
||||
- (BOOL) isGoogleAuthenticatorEnabled
|
||||
- (BOOL) isTotpEnabled
|
||||
{
|
||||
#if defined(MFA_CONFIG)
|
||||
return YES;
|
||||
@@ -1011,9 +1011,9 @@ static NSArray *reminderValues = nil;
|
||||
#endif
|
||||
}
|
||||
|
||||
- (NSString *) googleAuthenticatorKey
|
||||
- (NSString *) totpKey
|
||||
{
|
||||
return [[context activeUser] googleAuthenticatorKey];
|
||||
return [[context activeUser] totpKey];
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user