Skip to content

Commit

Permalink
added captcha token reset for signup
Browse files Browse the repository at this point in the history
  • Loading branch information
superolegatron committed Sep 24, 2024
1 parent a196e69 commit f67caaa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ export function SignUpFormContentComponent(props) {
if (error.response && error.response.status === 400) {
toast.error('Не вдалося зареєструвати користувача, сталася помилка');
}
})
.finally(()=>{
reCaptchaRef.current.reset();
});
};

Expand Down

0 comments on commit f67caaa

Please sign in to comment.