mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Dont require score on challenge recaptcha
This commit is contained in:
parent
47d6f16961
commit
0fe471da82
1 changed files with 1 additions and 6 deletions
|
|
@ -8,12 +8,7 @@ type RecaptchaResponse = {
|
|||
}
|
||||
|
||||
const isRecaptchaResponse = (data: any): data is RecaptchaResponse => {
|
||||
return (
|
||||
'success' in data &&
|
||||
'hostname' in data &&
|
||||
'score' in data &&
|
||||
'action' in data
|
||||
)
|
||||
return 'success' in data && 'hostname' in data
|
||||
}
|
||||
|
||||
export const verifyChallengeRecaptcha = async (
|
||||
|
|
|
|||
Loading…
Reference in a new issue