]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 303061: userprefs.cgi should call ThrowUserError for old_password_required -...
authorlpsolit%gmail.com <>
Wed, 3 Aug 2005 07:10:08 +0000 (07:10 +0000)
committerlpsolit%gmail.com <>
Wed, 3 Aug 2005 07:10:08 +0000 (07:10 +0000)
userprefs.cgi

index 12a05d26f93b671dffe006a93ba29ef958fbac5e..9ae558fa18e8955671533d1eaba4fbe90087533a 100755 (executable)
@@ -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.