-
Notifications
You must be signed in to change notification settings - Fork 55
Added reCaptcha module #875
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
base: main
Are you sure you want to change the base?
Conversation
amitaibu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the reCaptch key defined? @iswariya Can you add me to it as well?
| site_key: '' | ||
| secret_key: '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't it require the key to work?
Will it work on different envs (local/ QA/ TEST/ LIVE)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amitaibu Yes, it requires a key to work. Also, we can add multiple domains to the same site setup in reCAPTCHA, so it doesn’t require separate keys for each environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, then shouldn't we have the key as part of the config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I received a notification from GitGuardian that the reCAPTCHA key was exposed on GitHub. That’s why I removed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, sorry, this is the drupal-starter repo :)
Since it was already exposed on Git, you should revoke those keys and create new ones.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amitaibu As per my understanding, no action is needed on this PR. I will proceed to revoke the site keys in reCAPTCHA.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update README, as Captcha won't work without the keys
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amitaibu Updated README.md
TB: 0.15h(0.65h/1h)
|
@amitaibu Please let me know if anything else needs to be updated in this PR. |
#874
TB: 0.5h(0.5h/1h)