summaryrefslogtreecommitdiffstats
path: root/token.cgi
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
parent3d3cb31a1f4f7c09de165805298e4ea2feaba7cd (diff)
downloadbugzilla-96624a115fe60b8ebdbbecbc2b38a7566d4e4c59.tar.gz
bugzilla-96624a115fe60b8ebdbbecbc2b38a7566d4e4c59.tar.xz
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.