diff --git a/public/images/duo-2fa-250.png b/public/images/duo-2fa-250.png new file mode 100644 index 00000000..00941405 Binary files /dev/null and b/public/images/duo-2fa-250.png differ diff --git a/views/default.handlebars b/views/default.handlebars index df1bbf3d..d4da8130 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -12890,14 +12890,19 @@ if (duoU2Fenabled == false) { setDialogMode(2, "Duo Authentication", 3, function () { window.location.href = '/add-duo?rurl=' + encodeURIComponentEx(window.location.href) + ((urlargs.key)?('&key=' + urlargs.key):''); - }, "Confirm enabling of Duo 2FA security. Once enabled you will be given the option to use Due security at login. Click ok to go thru the steps to enable Duo."); + }, "Confirm enabling of Duo 2FA login security. Once enabled you will be given the option to use Duo at login for added security. Click ok to go thru the steps to enable Duo." + '

'); } else { setDialogMode(2, "Duo Authentication", 3, function () { meshserver.send({ action: 'otpduo', enabled: false }); - }, "Confirm disabling Duo security."); + }, '

'); + QE('idx_dlgOkButton', false); } } + function account_manageAuthDuoConfirm() { + QE('idx_dlgOkButton', Q('duo2facheck').checked); + } + function account_manageAuthApp() { if (xxdialogMode || ((features & 4096) == 0)) return; if (userinfo.otpsecret == 1) { account_removeOtp(); } else { account_addOtp(); }