snelsi / next-recaptcha-v3

⭐ Straightforward solution for using ReCaptcha in your Next.js application
MIT License
108 stars 8 forks source link

Note: Actions might contain only alphanumeric characters, slashes, and underscores. Actions must not be user-specific. #131

Closed gitnan closed 1 year ago

gitnan commented 1 year ago

Describe the bug Note: Actions might contain only alphanumeric characters, slashes, and underscores. Actions must not be user-specific.

To Reproduce Current documentation is incorrect.

Incorrect line: const token = await executeRecaptcha("form-submit");

Correct Line: const token = await executeRecaptcha("form/submit");

Source: https://developers.google.com/recaptcha/docs/v3

Actions may only contain alphanumeric characters and slashes, and must not be user-specific.

snelsi commented 1 year ago

You are right, thank you. Fixed in v1.1.3