Added Google reCaptcha (#738)

This commit is contained in:
Nathan Morgan
2017-02-28 01:27:24 +00:00
committed by Basraah
parent 693016e171
commit e6e1339d71
4 changed files with 35 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ INSTALLED_APPS = [
'permissions_tool',
'geelweb.django.navhelper',
'bootstrap_pagination',
'captcha',
# Services
'services.modules.mumble',
@@ -221,6 +222,15 @@ CACHES = {
}
}
# Google Recaptcha
CAPTCHA_ENABLED = False
RECAPTCHA_PUBLIC_KEY = 'MyRecaptchaKey'
RECAPTCHA_PRIVATE_KEY = 'MyRecaptchaPrivateKey'
NOCAPTCHA = True
#####################################################
##
## Auth configuration starts here