Added captcha for sign up form
• Added: - captcha for sign up form - empty ENV variables for: GAB_CAPTCHA_SECRET_KEY, GAB_CAPTCHA_CLIENT_KEY to be configured within captcha.gab.com - Script insertion within registrations/new.html.haml containing instantiation for captcha.gab.com with our client key and challenge buster - Div within registration form for #gab-captcha for the challenge to get inserted within - Checks in RegistrationsController for captcha verification using server token (automatically generated in form), secret [server] key before checking if username/password/email is valid
This commit is contained in:
@@ -224,3 +224,7 @@ SMTP_FROM_ADDRESS=notifications@${APP_NAME}.nanoapp.io
|
||||
# SAML_UID_ATTRIBUTE="urn:oid:0.9.2342.19200300.100.1.1"
|
||||
# SAML_ATTRIBUTES_STATEMENTS_VERIFIED=
|
||||
# SAML_ATTRIBUTES_STATEMENTS_VERIFIED_EMAIL=
|
||||
|
||||
# Gab Captcha
|
||||
GAB_CAPTCHA_SECRET_KEY=
|
||||
GAB_CAPTCHA_CLIENT_KEY=
|
||||
Reference in New Issue
Block a user