Closed mmghv closed 6 years ago
Fixes #45 Fixes #38
Google API will only verify a response one time .. if you call it the second time with the same response it will return timeout-or-duplicate error.
response
timeout-or-duplicate
Each reCAPTCHA user response token should be used only once. If a verification attempt has been made with a particular token, it cannot be used again.
--> Verifying the user's response
So to allow validating the Captcha and calling verifyResponse() multiple times, we cache the verified responses.
Captcha
verifyResponse()
Fixes #45 Fixes #38
Google API will only verify a response one time .. if you call it the second time with the same
response
it will returntimeout-or-duplicate
error.--> Verifying the user's response
So to allow validating the
Captcha
and callingverifyResponse()
multiple times, we cache the verified responses.