This commit is contained in:
Ylian Saint-Hilaire 2022-04-08 09:57:08 -07:00
parent 1aa9a2c20c
commit 34e598f89f
4 changed files with 4 additions and 4 deletions

View File

@ -246,7 +246,7 @@
"maxInvalid2fa": { "maxInvalid2fa": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"description": "This section described a policy for how many times an IP address is allowed to attempt to perform two-factor authenticaiton (2FA) incorrectly. By default it's 10 times in 10 minutes, but this can be changed here.", "description": "This section described a policy for how many times an IP address is allowed to attempt to perform two-factor authentication (2FA) incorrectly. By default it's 10 times in 10 minutes, but this can be changed here.",
"properties": { "properties": {
"exclude": { "type": "string", "default": null, "description": "Ranges of IP addresses that are not subject to invalid 2FA limitations. For example: 192.168.1.0/24,172.16.0.1"}, "exclude": { "type": "string", "default": null, "description": "Ranges of IP addresses that are not subject to invalid 2FA limitations. For example: 192.168.1.0/24,172.16.0.1"},
"time": { "type": "integer", "default": 10, "description": "Time in minutes over which the a maximum number of invalid 2FA attempts is allowed from an IP address." }, "time": { "type": "integer", "default": 10, "description": "Time in minutes over which the a maximum number of invalid 2FA attempts is allowed from an IP address." },

View File

@ -23775,7 +23775,7 @@
"cs": "Povolit e-mailovou dvoufaktorovou autentizaci.", "cs": "Povolit e-mailovou dvoufaktorovou autentizaci.",
"da": "Aktivér e-mail 2-faktor godkendelse.", "da": "Aktivér e-mail 2-faktor godkendelse.",
"de": "Aktivieren Sie die E-Mail-Zwei-Faktor-Authentifizierung.", "de": "Aktivieren Sie die E-Mail-Zwei-Faktor-Authentifizierung.",
"en": "Enable email two-factor authenticaiton.", "en": "Enable email two-factor authentication.",
"es": "Habilitar autenticación de dos factores por correo electrónico.", "es": "Habilitar autenticación de dos factores por correo electrónico.",
"fi": "Ota käyttöön kaksi vaihenen todennus sähköpostitse.", "fi": "Ota käyttöön kaksi vaihenen todennus sähköpostitse.",
"fr": "Activer l'authentification à deux facteurs par e-mail.", "fr": "Activer l'authentification à deux facteurs par e-mail.",

View File

@ -2253,7 +2253,7 @@
var emailU2Fenabled = ((userinfo.otpekey == 1) && (userinfo.email != null) && (userinfo.emailVerified == true)); var emailU2Fenabled = ((userinfo.otpekey == 1) && (userinfo.email != null) && (userinfo.emailVerified == true));
setDialogMode(2, "Email Authentication", 1, function () { setDialogMode(2, "Email Authentication", 1, function () {
if (emailU2Fenabled != Q('email2facheck').checked) { meshserver.send({ action: 'otpemail', enabled: Q('email2facheck').checked }); } if (emailU2Fenabled != Q('email2facheck').checked) { meshserver.send({ action: 'otpemail', enabled: Q('email2facheck').checked }); }
}, "When enabled, on each login, you will be given the option to receive a login token to you email account for added security." + '<br /><br /><label><input id=email2facheck type=checkbox ' + (emailU2Fenabled ? 'checked' : '') + '/>' + "Enable email two-factor authenticaiton." + '</label>'); }, "When enabled, on each login, you will be given the option to receive a login token to you email account for added security." + '<br /><br /><label><input id=email2facheck type=checkbox ' + (emailU2Fenabled ? 'checked' : '') + '/>' + "Enable email two-factor authentication." + '</label>');
} }
function account_manageAuthApp() { function account_manageAuthApp() {

View File

@ -11279,7 +11279,7 @@
var emailU2Fenabled = ((userinfo.otpekey == 1) && (userinfo.email != null) && (userinfo.emailVerified == true)); var emailU2Fenabled = ((userinfo.otpekey == 1) && (userinfo.email != null) && (userinfo.emailVerified == true));
setDialogMode(2, "Email Authentication", 1, function () { setDialogMode(2, "Email Authentication", 1, function () {
if (emailU2Fenabled != Q('email2facheck').checked) { meshserver.send({ action: 'otpemail', enabled: Q('email2facheck').checked }); } if (emailU2Fenabled != Q('email2facheck').checked) { meshserver.send({ action: 'otpemail', enabled: Q('email2facheck').checked }); }
}, "When enabled, on each login, you will be given the option to receive a login token to you email account for added security." + '<br /><br /><label><input id=email2facheck type=checkbox ' + (emailU2Fenabled?'checked':'') + '/>' + "Enable email two-factor authenticaiton." + '</label>'); }, "When enabled, on each login, you will be given the option to receive a login token to you email account for added security." + '<br /><br /><label><input id=email2facheck type=checkbox ' + (emailU2Fenabled?'checked':'') + '/>' + "Enable email two-factor authentication." + '</label>');
} }
function account_manageAuthApp() { function account_manageAuthApp() {