Skip to content

Commit

Permalink
Merge pull request #26 from ava-labs/hotfix
Browse files Browse the repository at this point in the history
ReCaptcha Score Threshold
  • Loading branch information
rajranjan0608 authored Jun 20, 2022
2 parents 5a19065 + 152b96c commit 53227f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middlewares/verifyCaptcha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class VerifyCaptcha {
const data = response?.data

if(data?.success) {
if(data?.score >= 0.3) {
if(data?.score > 0.5) {
return true
}
}
Expand Down

0 comments on commit 53227f9

Please sign in to comment.