mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 09:48:44 +00:00
skip create account request on form errors
This commit is contained in:
1 parent
9126a8e12f
commit
831c2d0825
1 file changed
+4
-4
@@ -185,10 +185,10 @@ function SignupPage(props: Props) {
|
||||
Analytics.accountSignupAttempt();
|
||||
|
||||
if (
|
||||
!usernameValid ||
|
||||
!emailValid ||
|
||||
!passwordValid ||
|
||||
!passwordConfirmationValid
|
||||
(usernameValid !== FieldTriState.TRUE) ||
|
||||
(emailValid !== FieldTriState.TRUE) ||
|
||||
(passwordValid !== FieldTriState.TRUE) ||
|
||||
(passwordConfirmationValid !== FieldTriState.TRUE)
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user