]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1211750 - Changing password with MFA turned on will not work
authorDylan William Hardison <dylan@mozilla.com>
Tue, 6 Oct 2015 06:01:13 +0000 (14:01 +0800)
committerByron Jones <glob@mozilla.com>
Tue, 6 Oct 2015 06:01:13 +0000 (14:01 +0800)
userprefs.cgi

index bf12259fb77985340a57b6ba37c94f4dabbf62c9..4c196adf586cbbd455d876db654531397ea238dd 100755 (executable)
@@ -196,7 +196,7 @@ sub MfaAccount {
         }
 
         elsif ($action->{type} eq 'set_password') {
-            $dbh->bz_begin_transaction;
+            $dbh->bz_start_transaction;
             $user->set_password($action->{password});
             Bugzilla->logout(LOGOUT_KEEP_CURRENT);
             $user->update({ keep_session => 1, keep_tokens => 1 });