diff options
-rwxr-xr-x | userprefs.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi index 57cbda28c..42ef255d3 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. |