aboutsummaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-03 07:07:45 +0000
committerlpsolit%gmail.com <>2005-08-03 07:07:45 +0000
commit1da7e6adb007e9b34d599e958c1d09cf4ea57d16 (patch)
tree530c9607863714892dcabdbd93b0151d9876872e /userprefs.cgi
parentb42412599210eb6082b503af144c62613645372a (diff)
downloadbugs-1da7e6adb007e9b34d599e958c1d09cf4ea57d16.tar
bugs-1da7e6adb007e9b34d599e958c1d09cf4ea57d16.tar.gz
bugs-1da7e6adb007e9b34d599e958c1d09cf4ea57d16.tar.bz2
bugs-1da7e6adb007e9b34d599e958c1d09cf4ea57d16.tar.xz
bugs-1da7e6adb007e9b34d599e958c1d09cf4ea57d16.zip
Bug 303061: userprefs.cgi should call ThrowUserError for old_password_required - Patch by Marc Schumann <wurblzap@gmail.com> r=LpSolit a=justdave
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.