mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-08 10:13:40 +00:00
refactor(mail): replace "Google Authenticator" with more general vocabulary
The 2FA feature is not specific to one application, rewording makes this more clear. Fixes #5294
This commit is contained in:
1 parent
71a648a7d4
commit
9ae9fa094e
30 files changed
+61
-61
No files matched your search
@@ -273,7 +273,7 @@
|
||||
|
||||
if (code != [verificationCode unsignedIntValue])
|
||||
{
|
||||
[self logWithFormat: @"Invalid Google Authenticator key for '%@'", username];
|
||||
[self logWithFormat: @"Invalid TOTP key for '%@'", username];
|
||||
json = [NSDictionary dictionaryWithObject: [NSNumber numberWithInt: 1]
|
||||
forKey: @"GoogleAuthenticatorInvalidKey"];
|
||||
return [self responseWithStatus: 403
|
||||
@@ -282,7 +282,7 @@
|
||||
} // if ([verificationCode length] == 6 && [verificationCode unsignedIntValue] > 0)
|
||||
else
|
||||
{
|
||||
[self logWithFormat: @"Missing Google Authenticator key for '%@', asking it..", username];
|
||||
[self logWithFormat: @"Missing TOTP key for '%@', asking it..", username];
|
||||
json = [NSDictionary dictionaryWithObject: [NSNumber numberWithInt: 1]
|
||||
forKey: @"GoogleAuthenticatorMissingKey"];
|
||||
return [self responseWithStatus: 202
|
||||
|
||||
Reference in new issue
Block a user