Merge pull request #10665 from supabase/fix/sso-captcha-token-reset

fix: reset captcha token on sso sign in error
This commit is contained in:
Alaister Young authored and GitHub committed 2022-12-03 03:04:54 +11:00
commit 0acadd0cf0
1 file changed
+1
@@ -44,6 +44,7 @@ const SignInSSOForm = () => {
window.location.href = data.url
}
} else {
setCaptchaToken(null)
captchaRef.current?.resetCaptcha()
ui.setNotification({