Skip to content
Browse files

Merge pull request #276 from jaredbischof/develop

Another odd issue in the regex that was updated recently for allowing si...
  • Loading branch information...
2 parents 6f2d237 + 5d923f7 commit 9cf31cf1cd9e37176a75151ea0908158b418704f @jaredbischof jaredbischof committed Apr 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/WebApplication/WebComponent/Register.pm
View
2 src/WebApplication/WebComponent/Register.pm
@@ -212,7 +212,7 @@ sub perform_registration {
}
# check if email address is valid
- unless ($cgi->param('email') =~ /^[\d\w\.\'-]+\@[\d\w\.-]+\.[\w+]$/) {
+ unless ($cgi->param('email') =~ /[\d\w\.\'-]+\@[\d\w\.-]+\.[\w+]/) {
$application->add_message('warning', 'You must enter a valid eMail address.');
return 0;
}

0 comments on commit 9cf31cf

Please sign in to comment.
Something went wrong with that request. Please try again.