From 96624a115fe60b8ebdbbecbc2b38a7566d4e4c59 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 23 Jan 2012 17:13:37 +0100 Subject: Bug 319953: Missing real email syntax check r=glob a=LpSolit --- token.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'token.cgi') 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. -- cgit v1.2.3-24-g4f1b