mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-31 08:04:54 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user