Bug 303061: userprefs.cgi should call ThrowUserError for old_password_required - Patch by Marc Schumann <wurblzap@gmail.com> r=LpSolit a=justdave

git-svn-id: svn://10.0.0.236/trunk@177041 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com 2005-08-03 00:10:08 +00:00
parent 804ffa1c5e
commit c047143952

View File

@ -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.