diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-01-23 17:13:37 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-01-23 17:13:37 +0100 |
commit | 96624a115fe60b8ebdbbecbc2b38a7566d4e4c59 (patch) | |
tree | 7b7c92645371edd42efe647c4c731f0a971f4e71 /Bugzilla/User.pm | |
parent | 3d3cb31a1f4f7c09de165805298e4ea2feaba7cd (diff) | |
download | bugzilla-96624a115fe60b8ebdbbecbc2b38a7566d4e4c59.tar.gz bugzilla-96624a115fe60b8ebdbbecbc2b38a7566d4e4c59.tar.xz |
Bug 319953: Missing real email syntax check
r=glob a=LpSolit
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 373fc1ef3..23b08c63a 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -195,8 +195,7 @@ sub check_login_name_for_creation { my ($invocant, $name) = @_; $name = trim($name); $name || ThrowUserError('user_login_required'); - validate_email_syntax($name) - || ThrowUserError('illegal_email_address', { addr => $name }); + check_email_syntax($name); # Check the name if it's a new user, or if we're changing the name. if (!ref($invocant) || $invocant->login ne $name) { |