summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-12-17 17:24:52 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-12-17 17:24:52 +0100
commit4049782d5f01e12231c1d4c27006d5f56dd54294 (patch)
treed4f22925a8b9db01c41792d83a0bbf9450c78aee
parentac4d5933b2ac0782678c88ae0087c41b00d1157d (diff)
downloadbugzilla-4049782d5f01e12231c1d4c27006d5f56dd54294.tar.gz
bugzilla-4049782d5f01e12231c1d4c27006d5f56dd54294.tar.xz
Bug 1231346 - UI tweaks to make 2FA setup/changes more intuitive
-rw-r--r--skins/standard/admin.css5
-rw-r--r--template/en/default/account/prefs/mfa.html.tmpl9
2 files changed, 14 insertions, 0 deletions
diff --git a/skins/standard/admin.css b/skins/standard/admin.css
index 5567ea000..96bc4347c 100644
--- a/skins/standard/admin.css
+++ b/skins/standard/admin.css
@@ -319,6 +319,11 @@ input[disabled] {
cursor: help;
}
+.mfa-api-blurb,
+.mfa-disable-blurb {
+ width: 70%;
+}
+
.flex {
display: flex;
flex-flow: row;
diff --git a/template/en/default/account/prefs/mfa.html.tmpl b/template/en/default/account/prefs/mfa.html.tmpl
index 461d6aaaf..5bdd8ddaa 100644
--- a/template/en/default/account/prefs/mfa.html.tmpl
+++ b/template/en/default/account/prefs/mfa.html.tmpl
@@ -73,6 +73,15 @@
[% END %]
</p>
+ [% IF user.mfa && user.in_group("mozilla-employee-confidential") %]
+ <p class="mfa-disable-blurb">
+ You will need to disable your two-factor authentication in order to change to a different method.
+ There will be a small amount of time when your account will not be as secure, so you may use the
+ <a href="userprefs.cgi?tab=sessions">sessions</a> page to log out all other sessions other
+ than the current one after setting up the new method.
+ </p>
+ [% END %]
+
<div id="mfa-recovery-container" style="display:none">
<p>
Your current password and verification code is required to generate