Skip to content

Commit

Permalink
fix: Fix sign up form when captha disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
trzmaxim committed Dec 22, 2022
1 parent 0156eb8 commit 0c52fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/containers/SignUp/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const SignUp: FC = () => {
return true;
}

const captchaTypeValue = captchaType();
const captchaTypeValue = captchaLogin() ? captchaType() : 'none';

if (captchaTypeValue === 'recaptcha' && !reCaptchaSuccess) {
return true;
Expand Down

0 comments on commit 0c52fab

Please sign in to comment.