Skip to content

Conversation

@iswariya
Copy link
Contributor

#874

reCaptcha in contact form reCaptcha error
Screenshot 2025-07-28 at 11 43 22 AM Screenshot 2025-07-28 at 11 42 09 AM

TB: 0.5h(0.5h/1h)

@iswariya iswariya requested a review from amitaibu July 28, 2025 06:18
Copy link
Member

@amitaibu amitaibu left a 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?

Comment on lines +3 to +4
site_key: ''
secret_key: ''
Copy link
Member

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)?

Copy link
Contributor Author

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.

Screenshot 2025-07-28 at 5 55 41 PM

Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Member

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

Copy link
Contributor Author

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)

@iswariya
Copy link
Contributor Author

iswariya commented Aug 5, 2025

@amitaibu Please let me know if anything else needs to be updated in this PR.

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

Successfully merging this pull request may close these issues.

3 participants