]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1398340 - Typo in 2fa enrollment flow: "enrolment" (missing an L) (#232)
authorDylan William Hardison <dylan@hardison.net>
Sat, 9 Sep 2017 01:00:53 +0000 (21:00 -0400)
committerEmma Humphries <emceeaich@users.noreply.github.com>
Sat, 9 Sep 2017 01:00:53 +0000 (18:00 -0700)
Bugzilla/MFA/TOTP.pm
template/en/default/global/user-error.html.tmpl
template/en/default/mfa/duo/verify.html.tmpl
userprefs.cgi

index 843569ce738b0dcdceb32ec219aa1e5aa6f68c7d..131dea676947c674e025db937ad3e85a1577d57f 100644 (file)
@@ -70,7 +70,7 @@ sub check {
     return if $self->_auth()->verify($code, 1);
 
     if ($params->{mfa_action} && $params->{mfa_action} eq 'enable') {
-        ThrowUserError('mfa_totp_bad_enrolment_code');
+        ThrowUserError('mfa_totp_bad_enrollment_code');
     }
     else {
         ThrowUserError('mfa_bad_code');
index 1aa92ead0fbc5e1612f16e70ba6a117df88f8643..a622a5eeea4d0cd84c4c4c6563901931bc7303b0 100644 (file)
   [% ELSIF error == "mfa_bad_code" %]
     Invalid verification code.
 
-  [% ELSIF error == "mfa_totp_bad_enrolment_code" %]
+  [% ELSIF error == "mfa_totp_bad_enrollment_code" %]
     Invalid verification code.<br>
     <br>
     The QR code has been deleted - please generate and scan a new code.
 
   [% ELSIF error == "reset_password_denied" %]
     [% title = "Reset Password Denied" %]
-    You cannot reset your password without administrative permission. 
+    You cannot reset your password without administrative permission.
 
   [% ELSIF error == "no_axes_defined" %]
     [% title = "No Axes Defined" %]
index 77f87cd65b4ab4593ca368c2aafc54b617bc114c..799efba7b7ab3bedcf987ee6e74a5755d067d1f1 100644 (file)
@@ -6,7 +6,7 @@
   # defined by the Mozilla Public License, v. 2.0.
   #%]
 
-[% is_enrolment = action == "enable" %]
+[% is_enrollment = action == "enable" %]
 
 [% js = BLOCK %]
 $(function() {
index 1bfecf294ed69d7de41e151d1beb93c5bb61687b..00d266eef355c170eaae25ff4cbf6660931b122f 100755 (executable)
@@ -655,7 +655,7 @@ sub SaveMFA {
     my $reason;
     if ($action eq 'enable') {
         $provider->enroll(Bugzilla->input_params);
-        $reason = 'Two-factor enrolment';
+        $reason = 'Two-factor enrollment';
     }
     elsif ($action eq 'recovery') {
         $reason = 'Recovery code generation';