summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
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.