From: lpsolit%gmail.com <> Date: Wed, 3 Aug 2005 07:07:45 +0000 (+0000) Subject: Bug 303061: userprefs.cgi should call ThrowUserError for old_password_required -... X-Git-Tag: bugzilla-2.21.1~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1da7e6adb007e9b34d599e958c1d09cf4ea57d16;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 57cbda28cf..42ef255d34 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.