if (!$createexp) {
ThrowUserError("account_creation_disabled");
}
- elsif ($email !~ /$createexp/) {
+ elsif ($email !~ /$createexp/i) {
ThrowUserError("account_creation_restricted");
}
$login = Bugzilla::User->check_login_name_for_creation($login);
$vars->{'login'} = $login;
- if ($login !~ /$createexp/) {
+ if ($login !~ /$createexp/i) {
ThrowUserError("account_creation_restricted");
}
"the <tt>emailregexp</tt> 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 " _