aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtoken.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/token.cgi b/token.cgi
index ddfdc159b..145aa5225 100755
--- a/token.cgi
+++ b/token.cgi
@@ -167,6 +167,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'))