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:
olivierperes
2021-06-16 15:49:30 +02:00
committed by GitHub
parent 71a648a7d4
commit 9ae9fa094e
30 changed files with 61 additions and 61 deletions
+2 -2
View File
@@ -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