aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-01-23 17:13:37 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-01-23 17:13:37 +0100
commit96624a115fe60b8ebdbbecbc2b38a7566d4e4c59 (patch)
tree7b7c92645371edd42efe647c4c731f0a971f4e71 /token.cgi
parentRollback of Bug 714370 as it causes error in bug creation due to DB_COLUMNS (diff)
downloadbugzilla-96624a115fe60b8ebdbbecbc2b38a7566d4e4c59.tar.gz
bugzilla-96624a115fe60b8ebdbbecbc2b38a7566d4e4c59.tar.bz2
bugzilla-96624a115fe60b8ebdbbecbc2b38a7566d4e4c59.zip
Bug 319953: Missing real email syntax check
r=glob a=LpSolit
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/token.cgi b/token.cgi
index 7c6b4e8d1..5f647edb3 100755
--- a/token.cgi
+++ b/token.cgi
@@ -117,9 +117,7 @@ sub requestChangePassword {
my $login_name = $cgi->param('loginname')
or ThrowUserError("login_needed_for_password_change");
- validate_email_syntax($login_name)
- || ThrowUserError('illegal_email_address', {addr => $login_name});
-
+ check_email_syntax($login_name);
my $user = Bugzilla::User->check($login_name);
# Make sure the user account is active.