Skip to content

Commit

Permalink
Update signup page. fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
xbgmsharp committed Dec 11, 2024
1 parent 824f412 commit 597ceba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/auth/signup/Signup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@
agreedToTermsErrors.value = formData.agreedToTerms ? [] : [t('auth.errors.agreed_to_terms')]
console.log(formReady.value, formData.email, emailErrors.value.length, validate())
if (!validate()) return
//if (!validate()) return
if (validate() == false) return
if (!formReady.value) return
if (formData.email.indexOf('+') > -1) {
emailErrors.value = ['invalid email format']
Expand Down

0 comments on commit 597ceba

Please sign in to comment.