diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 554479db99c..c5098ce873a 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7742 \ No newline at end of file +7743 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/WebService/User.pm b/mozilla/webtools/bugzilla/Bugzilla/WebService/User.pm index 9f118d4a6b7..b9434059d3c 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/WebService/User.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/WebService/User.pm @@ -95,7 +95,7 @@ sub offer_account_by_email { if (!$createexp) { ThrowUserError("account_creation_disabled"); } - elsif ($email !~ /$createexp/) { + elsif ($email !~ /$createexp/i) { ThrowUserError("account_creation_restricted"); } diff --git a/mozilla/webtools/bugzilla/createaccount.cgi b/mozilla/webtools/bugzilla/createaccount.cgi index c2941bc4c00..db0727adda7 100755 --- a/mozilla/webtools/bugzilla/createaccount.cgi +++ b/mozilla/webtools/bugzilla/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"); } diff --git a/mozilla/webtools/bugzilla/template/en/default/admin/params/auth.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/admin/params/auth.html.tmpl index 8e91e54c0e6..2e11dffbce0 100644 --- a/mozilla/webtools/bugzilla/template/en/default/admin/params/auth.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/admin/params/auth.html.tmpl @@ -120,7 +120,7 @@ "the emailregexp param to only allow local usernames, " _ "but you want the mail to be delivered to username@my.local.hostname.", - createemailregexp => "This defines the regexp to use for email addresses that are " _ + createemailregexp => "This defines the (case-insensitive) regexp to use for email addresses that are " _ "permitted to self-register using a 'New Account' feature. The " _ "default (.*) permits any account matching the emailregexp " _ "to be created. If this parameter is left blank, no users " _