diff options
author | lpsolit%gmail.com <> | 2005-08-16 00:43:35 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-16 00:43:35 +0000 |
commit | 746013729e6377357efb68de8d7f2fd93e25a07c (patch) | |
tree | 1aabd9f01c7cf495ee677b23b5452abbeed96228 /userprefs.cgi | |
parent | 09756eda41e62f1b216c38338c6d0702dccc7502 (diff) | |
download | bugs-746013729e6377357efb68de8d7f2fd93e25a07c.tar bugs-746013729e6377357efb68de8d7f2fd93e25a07c.tar.gz bugs-746013729e6377357efb68de8d7f2fd93e25a07c.tar.bz2 bugs-746013729e6377357efb68de8d7f2fd93e25a07c.tar.xz bugs-746013729e6377357efb68de8d7f2fd93e25a07c.zip |
Bug 304653: remove 'use Bugzilla::Error' from Util.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-x | userprefs.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi index 0a6ffe288..065dcb472 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -117,7 +117,8 @@ sub SaveAccount { } # Before changing an email address, confirm one does not exist. - check_email_syntax($new_login_name); + validate_email_syntax($new_login_name) + || ThrowUserError('illegal_email_address', {addr => $new_login_name}); trick_taint($new_login_name); is_available_username($new_login_name) || ThrowUserError("account_exists", {email => $new_login_name}); |