Skip to content

Commit

Permalink
Merge branch 'master' into 772-frontend-create-component-to-render-al…
Browse files Browse the repository at this point in the history
…l-events
  • Loading branch information
choden-dev authored Oct 21, 2024
2 parents 0c9dc2f + 969768e commit 47b706a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/store/SignUpForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const actions = {
const { email, confirmEmail, phone_number, emergency_contact } =
getState()
const validRegex =
/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-]{2,}$/

if (!email.match(validRegex)) {
invalidFields.push("Email")
Expand Down

0 comments on commit 47b706a

Please sign in to comment.