Bug 134465 - Don't die() if the admin email address doesn't match the

regexp. r=justdave x2
parent e924425a
...@@ -1678,7 +1678,10 @@ if ($sth->rows == 0) { ...@@ -1678,7 +1678,10 @@ if ($sth->rows == 0) {
unless ($login =~ /$mailcheckexp/) { unless ($login =~ /$mailcheckexp/) {
print "\nThe login address is invalid:\n"; print "\nThe login address is invalid:\n";
print "$mailcheck\n"; print "$mailcheck\n";
die "Please try again\n"; print "You can change this test on the params page once checksetup has successfully\n";
print "completed.\n\n";
# Go round, and ask them again
$login = "";
} }
} }
$login = $dbh->quote($login); $login = $dbh->quote($login);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment