diff --git a/public/images/duo-2fa-250-disable.png b/public/images/duo-2fa-250-disable.png new file mode 100644 index 00000000..01d91b18 Binary files /dev/null and b/public/images/duo-2fa-250-disable.png differ diff --git a/views/default.handlebars b/views/default.handlebars index d4da8130..bf8dc9a9 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -12894,7 +12894,7 @@ } else { setDialogMode(2, "Duo Authentication", 3, function () { meshserver.send({ action: 'otpduo', enabled: false }); - }, '

'); + }, '

' + '

'); QE('idx_dlgOkButton', false); } } diff --git a/webserver.js b/webserver.js index 76b80121..bd6887c5 100644 --- a/webserver.js +++ b/webserver.js @@ -7078,7 +7078,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF sec.duostate = client.generateState(); sec.duoconfig = 1; req.session.e = parent.encryptSessionData(sec); - parent.debug('web', 'Redirecting user ' + req.session.userid + ' to Duo'); + parent.debug('web', 'Redirecting user ' + req.session.userid + ' to Duo for configuration'); res.redirect(client.createAuthUrl(req.session.userid.split('/')[2], sec.duostate)); } });