Skip to content

Commit

Permalink
feat(sign-up): add turnstile on error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tfkhdyt committed Jul 7, 2024
1 parent e459424 commit 8a18059
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/auth/sign-up/signup-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ export function SignupForm() {
<Turnstile
siteKey={environment.NEXT_PUBLIC_TURNSTILE_SITE_KEY}
onSuccess={setToken}
onError={(code) => console.log('Error code ->', code)}
ref={captcha}
options={{
theme: 'light',
Expand Down

0 comments on commit 8a18059

Please sign in to comment.