Skip to content

Commit

Permalink
reset recaptcha after use
Browse files Browse the repository at this point in the history
  • Loading branch information
burturt committed Oct 19, 2023
1 parent c23e983 commit 0a4fc93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/chall.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ const Chall = () => {
console.error("An unexpected API response was received");
}
updateArr(index, disableButton, setDisableButton, false);
captchaRef.current?.reset();
})
.catch((err) => {
console.error(err);
Expand Down

0 comments on commit 0a4fc93

Please sign in to comment.