nafiesl / silsilah

A genealogy/family tree application, built with Laravel.
MIT License
600 stars 289 forks source link

Added optional recaptcha v3 support #76

Open yohanesgultom opened 3 years ago

yohanesgultom commented 3 years ago

Added optional recaptcha support to protect registration and login form from bots

nafiesl commented 3 years ago

Hello, @yohanesgultom thanks for contributing.

OK, it looks like we need 2 env variables: RECAPTCHA_SITE_KEY and RECAPTCHA_SECRET_KEY.

I have no experience of using Google Recaptcha, could you possibly help to write "How to test instruction" on the description (something like this https://github.com/nafiesl/silsilah/pull/50)?

Or maybe you could send me a tutorial link for setup google Recaptcha?

Thanks.

yohanesgultom commented 3 years ago

Hi @nafiesl . Thanks for your response.

This is the link to a complete official guide on Google Recaptcha setup https://developers.google.com/recaptcha/docs/v3.

In a nutshell, we just need to:

  1. Create google account
  2. Register our website in https://www.google.com/recaptcha/admin
  3. Copy paste the Site Key and Secret Key to the .env file

Let me know if you need more information.