diff options
author | lpsolit%gmail.com <> | 2005-08-03 07:07:45 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-03 07:07:45 +0000 |
commit | 1da7e6adb007e9b34d599e958c1d09cf4ea57d16 (patch) | |
tree | 530c9607863714892dcabdbd93b0151d9876872e /userprefs.cgi | |
parent | Bug 301901: Index rename failure when renaming an index called PRIMARY (diff) | |
download | bugzilla-1da7e6adb007e9b34d599e958c1d09cf4ea57d16.tar.gz bugzilla-1da7e6adb007e9b34d599e958c1d09cf4ea57d16.tar.bz2 bugzilla-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-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. |