summaryrefslogtreecommitdiffstats
path: root/userprefs.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 /userprefs.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 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 5f52a3ca7..be6f40b04 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -118,7 +118,7 @@ sub SaveAccount {
}
# Before changing an email address, confirm one does not exist.
- CheckEmailSyntax($new_login_name);
+ check_email_syntax($new_login_name);
trick_taint($new_login_name);
is_available_username($new_login_name)
|| ThrowUserError("account_exists", {email => $new_login_name});