summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-21 06:24:19 +0200
committerlpsolit%gmail.com <>2005-07-21 06:24:19 +0200
commitb8a33eb39a2fb1e994f84dc013440375b9f45dcc (patch)
treed7d11e164b306f3724a762a99a9d09c98eb7afb5 /editusers.cgi
parentdeaa3dcc512cc90d608c9242e754ad7de034e7ec (diff)
downloadbugzilla-b8a33eb39a2fb1e994f84dc013440375b9f45dcc.tar.gz
bugzilla-b8a33eb39a2fb1e994f84dc013440375b9f45dcc.tar.xz
Bug 301453: Move CheckEmailSyntax out of CGI.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 18005fd94..be1607130 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -170,7 +170,7 @@ if ($action eq 'search') {
# Validity checks
$login || ThrowUserError('user_login_required');
- CheckEmailSyntax($login);
+ check_email_syntax($login);
is_available_username($login) || ThrowUserError('account_exists',
{'email' => $login});
ValidatePassword($password);
@@ -246,7 +246,7 @@ if ($action eq 'search') {
if ($login ne $loginold) {
# Validate, then trick_taint.
$login || ThrowUserError('user_login_required');
- CheckEmailSyntax($login);
+ check_email_syntax($login);
is_available_username($login) || ThrowUserError('account_exists',
{'email' => $login});
trick_taint($login);