summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-09-02 07:12:55 +0200
committerByron Jones <glob@mozilla.com>2015-09-02 07:12:55 +0200
commit34e6b2e7cad19a2345328323fd81ac477e13e7eb (patch)
tree68d7b6fbdd8e122121825b45e109e4ac9ca2f6ef /js
parentf072be241bc5335a86758e3f6a1fa48cd7762f2d (diff)
downloadbugzilla-34e6b2e7cad19a2345328323fd81ac477e13e7eb.tar.gz
bugzilla-34e6b2e7cad19a2345328323fd81ac477e13e7eb.tar.xz
Bug 1200618 - Layout of the TOTP 2FA leads to missing the token time window and thus frustration
Diffstat (limited to 'js')
-rw-r--r--js/account.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/account.js b/js/account.js
index c287309d8..d68c3f550 100644
--- a/js/account.js
+++ b/js/account.js
@@ -80,7 +80,7 @@ $(function() {
iframe.find('#qr').attr('src', 'data:image/png;base64,' + data.png);
iframe.find('#secret').text(data.secret32);
$('#mfa-totp-issued').show();
- $('#mfa-totp-enable-code').focus();
+ $('#mfa-password').focus();
$('#update').attr('disabled', false);
})
.error(function(data) {
@@ -100,8 +100,8 @@ $(function() {
event.preventDefault();
$('#mfa-disable-container').show();
$('#mfa-confirm').show();
- $('#mfa-api-blurb').hide();
- $('#mfa-totp-disable-code').focus();
+ $('.mfa-api-blurb').hide();
+ $('#mfa-password').focus();
$('#update').attr('disabled', false);
$(this).hide();
});