my $template = Bugzilla->template;
my $dbh = Bugzilla->dbh;
+ThrowUserError('reset_password_denied') unless $user->password_change_required;
+
if ($cgi->param('do_save')) {
my $token = $cgi->param('token');
check_token_data($token, 'reset_password');
[% title = "Password Unchanged" %]
Your new password cannot be the same as your old password.
+ [% ELSIF error == "reset_password_denied" %]
+ [% title = "Reset Password Denied" %]
+ You cannot reset your password without administrative permission.
+
[% ELSIF error == "no_axes_defined" %]
[% title = "No Axes Defined" %]
[% docslinks = {'reporting.html' => 'Reporting'} %]