aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-10-01 12:07:34 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2014-10-01 12:07:34 +0200
commit0b4a2599b1ba5394507e2e22401ec3e13cdf5d3f (patch)
tree9c5b8153b3a1745b9f3b5fcbcdc611848c3def47
parentBug 1061247 - Successfully using a password change token should invalidate al... (diff)
downloadbugzilla-0b4a2599b1ba5394507e2e22401ec3e13cdf5d3f.tar.gz
bugzilla-0b4a2599b1ba5394507e2e22401ec3e13cdf5d3f.tar.bz2
bugzilla-0b4a2599b1ba5394507e2e22401ec3e13cdf5d3f.zip
Fix bustage due to bug 1061247
-rwxr-xr-xtoken.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/token.cgi b/token.cgi
index a85973efc..013ab17e3 100755
--- a/token.cgi
+++ b/token.cgi
@@ -163,6 +163,7 @@ sub cancelChangePassword {
# password and that the new password is valid.
sub changePassword {
my ($user_id, $token) = @_;
+ my $dbh = Bugzilla->dbh;
my $password = $cgi->param('password');
(defined $password && defined $cgi->param('matchpassword'))