CAPTCHA recipe needs checking #5776
Labels
code snippet update
Updates a code sample: typo, outdated code etc.
good first issue
Good for newcomers
help - confirm behaviour
Walk through the example/issue and confirm this is a general behaviour, or a correct update to make.
help wanted
Issues looking for someone to run with them!
improve documentation
Enhance existing documentation (e.g. add an example, improve description)
📚 Subject area/topic
Recipe: captcha
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/recipes/captcha/
📋 Description of content that is out-of-date or incorrect
We received two comments on Feedback Fish that some code needs updating. Would love help verifying and if necessary correcting this!
Comment 1:
Hello! I wasn't able to get the recaptcha code on https://docs.astro.build/en/recipes/captcha/ working, but upon searching the error being thrown I found this solution: https://stackoverflow.com/questions/52416002/recaptcha-error-codes-missing-input-response-missing-input-secret-when-v
This is the code for /recaptcha.js I have now. It appears to be functioning but I am very much a junior dev—so take it with a grain of salt.
Comment 2:
Hey there,
I want to point out that Astro docs have some issues with an example:
https://docs.astro.build/en/recipes/captcha/
The example should be updated with the correct code as below:
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
The text was updated successfully, but these errors were encountered: