Skip to content

Commit 4049782

Browse files
committed
Bug 1231346 - UI tweaks to make 2FA setup/changes more intuitive
1 parent ac4d593 commit 4049782

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

skins/standard/admin.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,11 @@ input[disabled] {
319319
cursor: help;
320320
}
321321

322+
.mfa-api-blurb,
323+
.mfa-disable-blurb {
324+
width: 70%;
325+
}
326+
322327
.flex {
323328
display: flex;
324329
flex-flow: row;

template/en/default/account/prefs/mfa.html.tmpl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@
7373
[% END %]
7474
</p>
7575

76+
[% IF user.mfa && user.in_group("mozilla-employee-confidential") %]
77+
<p class="mfa-disable-blurb">
78+
You will need to disable your two-factor authentication in order to change to a different method.
79+
There will be a small amount of time when your account will not be as secure, so you may use the
80+
<a href="userprefs.cgi?tab=sessions">sessions</a> page to log out all other sessions other
81+
than the current one after setting up the new method.
82+
</p>
83+
[% END %]
84+
7685
<div id="mfa-recovery-container" style="display:none">
7786
<p>
7887
Your current password and verification code is required to generate

0 commit comments

Comments
 (0)