summaryrefslogtreecommitdiff
path: root/config/gitlab.yml.example
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-12-27 09:03:06 -0800
committerStan Hu <stanhu@gmail.com>2015-12-27 09:04:11 -0800
commit9f7d379c2a018c86671bfc157fe1f0cf4e31e25e (patch)
tree3b0a9032c050138c3ad9a681f790da9fae65ee51 /config/gitlab.yml.example
parenta52746649d1db4f52ae4e989dcf654ef4af57905 (diff)
downloadgitlab-ce-9f7d379c2a018c86671bfc157fe1f0cf4e31e25e.tar.gz
Add support for Google reCAPTCHA in user registration to prevent spammers
Diffstat (limited to 'config/gitlab.yml.example')
-rw-r--r--config/gitlab.yml.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index db68b5512b8..79fc7423b31 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -346,6 +346,12 @@ production: &base
# cas3:
# session_duration: 28800
+ # reCAPTCHA settings. See: http://www.google.com/recaptcha
+ recaptcha:
+ enabled: false
+ public_key: 'YOUR_PUBLIC_KEY'
+ private_key: 'YOUR_PRIVATE_KEY'
+
# Shared file storage settings
shared:
# path: /mnt/gitlab # Default: shared