Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I try to sign up and click to Sign Up it shows 'Invalid reCAPTCHA. Please try again' #2

Closed
berknator opened this issue Oct 11, 2021 · 1 comment

Comments

@berknator
Copy link

Hello, sorry for the Issues but I have a Problem.

First of all, I could run the Site, so thank you for your help.
When I try to Sign Up and click on Recaptcha, the site shows 'Invalid reCAPTCHA. Please try again'

I don't know where the problem is.

@Ronik22
Copy link
Owner

Ronik22 commented Oct 12, 2021

I think it's happening because of "data-sitekey" value on line 45 in "/users/templates/users/register.html". Currently, it contains my public site key. Replace this with yours by creating a new one and populate both "data-sitekey" in template as well as "GOOGLE_RECAPTCHA_SECRET_KEY" in the ".env" file. Also, don't forget to add the domains while creating a google recaptcha key.

Feel free to reach me if there's an issue.

@Ronik22 Ronik22 closed this as completed Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants