summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@mozilla.com>2015-10-06 08:01:13 +0200
committerByron Jones <glob@mozilla.com>2015-10-06 08:01:13 +0200
commitf8f537a8f05127b13a25c5f3f579364bcee6bbb5 (patch)
treed2f4432c28f327482455b45bc08de83a26f6c28c /userprefs.cgi
parentbbd091bd25c907f6f18fed0b8ccc351429261956 (diff)
downloadbugzilla-f8f537a8f05127b13a25c5f3f579364bcee6bbb5.tar.gz
bugzilla-f8f537a8f05127b13a25c5f3f579364bcee6bbb5.tar.xz
Bug 1211750 - Changing password with MFA turned on will not work
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index bf12259fb..4c196adf5 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -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 });