From: lpsolit%gmail.com <> Date: Wed, 3 Aug 2005 07:10:08 +0000 (+0000) Subject: Bug 303061: userprefs.cgi should call ThrowUserError for old_password_required -... X-Git-Tag: bugzilla-2.20rc2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb0c0087bc629c3074bd258a76f2c3567d53b5df;p=thirdparty%2Fbugzilla.git Bug 303061: userprefs.cgi should call ThrowUserError for old_password_required - Patch by Marc Schumann r=LpSolit a=justdave --- diff --git a/userprefs.cgi b/userprefs.cgi index 12a05d26f9..9ae558fa18 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -109,7 +109,7 @@ sub SaveAccount { if($old_login_name ne $new_login_name) { $cgi->param('Bugzilla_password') - || ThrowCodeError("old_password_required"); + || ThrowUserError("old_password_required"); use Bugzilla::Token; # Block multiple email changes for the same user.