Skip to content

Commit

Permalink
recaptcha score threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
rajranjan0608 committed Jun 20, 2022
1 parent 5a19065 commit 152b96c
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 152b96c

Please sign in to comment.