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
@@ -93,7 +93,7 @@
d.reject({error: l('cookiesNotEnabled')});
}
else {
// Check for Google Authenticator 2FA
// Check for TOTP
if (typeof data.GoogleAuthenticatorMissingKey != 'undefined' && response.status == 202) {
d.resolve({gamissingkey: 1});
}
@@ -126,7 +126,7 @@
}, function(error) {
var response, perr, data = error.data;
if (data && data.GoogleAuthenticatorInvalidKey) {
response = {error: l('You provided an invalid Google Authenticator key.')};
response = {error: l('You provided an invalid TOTP key.')};
}
else if (data && angular.isDefined(data.LDAPPasswordPolicyError)) {
perr = data.LDAPPasswordPolicyError;