Skip to content

Commit

Permalink
Merge pull request #331 from openml/PGijsbers-patch-2
Browse files Browse the repository at this point in the history
Update regex e-mail
  • Loading branch information
PGijsbers authored May 19, 2024
2 parents ccaac98 + 8ca9284 commit d4991c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/client/app/src/pages/auth/SignUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function SignUp() {
setError(true);
setErrorMessage("Password too weak");
} else if (
/[a-zA-Z0-9]+@(?:[a-zA-Z0-9]+\.)+[A-Za-z]+$/.test(
/[a-zA-Z0-9]+@(?:[a-zA-Z0-9-]+\.)+[A-Za-z]+$/.test(
event.target.email.value
) !== true
) {
Expand Down

0 comments on commit d4991c3

Please sign in to comment.