From fb0c0087bc629c3074bd258a76f2c3567d53b5df Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 3 Aug 2005 07:10:08 +0000 Subject: [PATCH] Bug 303061: userprefs.cgi should call ThrowUserError for old_password_required - Patch by Marc Schumann r=LpSolit a=justdave --- userprefs.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.2