Add reCAPTCHA to the account creation form
Created by: whunter
Add reCAPTCHA to the account creation form so we don't end up with a bunch of evil robots in our user table.
JIRA Ticket: (https://webapps.es.vt.edu/jira/browse/LIBTD-1446) (
⭐ )
What does this Pull Request do? (- Adds recaptcha gem.
- Uses it to populate the registration form with a recaptcha thingy.
- Then validates the response in the registrations controller
⭐ )
What's the changes? (- Adds recaptcha gem.
- Uses it to populate the registration form with a recaptcha thingy.
- Then validates the response in the registrations controller
How should this be tested?
- Put site_key and secret_key (new) in site_secrets.yml before provisioning. I'll provide those values to you.
- Make sure that you can successfully register a user account if you do click the captcha thingy.
- Make sure that there is an error message and no account is created if you DON'T click the captcha thingy.
Additional Notes:
- compel application branch:
captcha_acct_creation
- Installscripts branch:
captcha_acct_creation
Interested parties
@tingtingjh
(