aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-03-08 16:06:38 +0000
committerGervase Markham <gerv@mozilla.org>2011-03-08 16:06:38 +0000
commit729e221d58c1e0dafb027ddef399c9f5a210b1d0 (patch)
tree247bd9149dfb292bc0807154f090b70fb0d0f736 /createaccount.cgi
parentBug 639151: Fix the webservice Bug.get method to return the correct see (diff)
downloadbugzilla-729e221d58c1e0dafb027ddef399c9f5a210b1d0.tar.gz
bugzilla-729e221d58c1e0dafb027ddef399c9f5a210b1d0.tar.bz2
bugzilla-729e221d58c1e0dafb027ddef399c9f5a210b1d0.zip
Bug 622513 - Email-related regexp checking should be case-insensitive. a=mkanat.
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/createaccount.cgi b/createaccount.cgi
index c2941bc4c..db0727add 100755
--- a/createaccount.cgi
+++ b/createaccount.cgi
@@ -65,7 +65,7 @@ if (defined($login)) {
$login = Bugzilla::User->check_login_name_for_creation($login);
$vars->{'login'} = $login;
- if ($login !~ /$createexp/) {
+ if ($login !~ /$createexp/i) {
ThrowUserError("account_creation_restricted");
}