]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1427503 - Allow all users to use Duo as the MFA provider.
authorTom Prince <tom.prince@twistedmatrix.com>
Mon, 12 Mar 2018 21:31:46 +0000 (15:31 -0600)
committerDylan William Hardison <dylan@hardison.net>
Mon, 12 Mar 2018 21:31:46 +0000 (17:31 -0400)
template/en/default/account/prefs/mfa.html.tmpl

index f75320892eb13080cafcbacec91151ab08f546f7..973d384328f3d2d209636f483a1dfd3eb7aa2aee 100644 (file)
@@ -91,7 +91,7 @@
       [% END %]
     </p>
 
-    [% IF user.mfa && user.in_group("mozilla-employee-confidential") %]
+    [% IF user.mfa  %]
       <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
         or <a href="https://freeotp.github.io/" target="_blank" rel="noopener noreferrer">Red Hat FreeOTP</a>),
       </blockquote>
 
-      [% IF Param("duo_host") && user.in_group("mozilla-employee-confidential") %]
+      [% IF Param("duo_host")  %]
         <button type="button" id="mfa-select-duo">Duo Security</button><br>
         <blockquote>
           Requires a <a href="https://mana.mozilla.org/wiki/display/SD/DuoSecurity" target="_blank" rel="noopener noreferrer">Duo Security</a>
 
     </div>
 
-    [% IF Param("duo_host") && user.in_group("mozilla-employee-confidential") %]
+    [% IF Param("duo_host") %]
       [%# enable - duo %]
       <div id="mfa-enable-duo" style="display:none">