Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
9e0f532f
Commit
9e0f532f
authored
Dec 27, 2015
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation for using reCAPTCHA
parent
4c6591c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
1 deletion
+58
-1
config/initializers/1_settings.rb
config/initializers/1_settings.rb
+1
-1
doc/integration/README.md
doc/integration/README.md
+1
-0
doc/integration/recaptcha.md
doc/integration/recaptcha.md
+56
-0
No files found.
config/initializers/1_settings.rb
View file @
9e0f532f
doc/integration/README.md
View file @
9e0f532f
...
@@ -13,6 +13,7 @@ See the documentation below for details on how to configure these services.
...
@@ -13,6 +13,7 @@ See the documentation below for details on how to configure these services.
-
[
Slack
](
slack.md
)
Integrate with the Slack chat service
-
[
Slack
](
slack.md
)
Integrate with the Slack chat service
-
[
OAuth2 provider
](
oauth_provider.md
)
OAuth2 application creation
-
[
OAuth2 provider
](
oauth_provider.md
)
OAuth2 application creation
-
[
Gmail actions buttons
](
gmail_action_buttons_for_gitlab.md
)
Adds GitLab actions to messages
-
[
Gmail actions buttons
](
gmail_action_buttons_for_gitlab.md
)
Adds GitLab actions to messages
-
[
reCAPTCHA
](
recaptcha.md
)
Configure GitLab to use Google reCAPTCHA for new users
GitLab Enterprise Edition contains
[
advanced JIRA support
](
http://doc.gitlab.com/ee/integration/jira.html
)
and
[
advanced Jenkins support
](
http://doc.gitlab.com/ee/integration/jenkins.html
)
.
GitLab Enterprise Edition contains
[
advanced JIRA support
](
http://doc.gitlab.com/ee/integration/jira.html
)
and
[
advanced Jenkins support
](
http://doc.gitlab.com/ee/integration/jenkins.html
)
.
...
...
doc/integration/recaptcha.md
0 → 100644
View file @
9e0f532f
# reCAPTCHA
GitLab leverages
[
Google's reCAPTCHA
](
https://www.google.com/recaptcha/intro/index.html
)
to protect against spam and abuse. GitLab displays the CAPTCHA form on the sign-up page
to confirm that a real user, not a bot, is attempting to create an account.
## Configuration
To use reCAPTCHA, first you must create a public and private key.
1.
Go to the URL: https://www.google.com/recaptcha/admin
1.
Fill out the form necessary to obtain reCAPTCHA keys.
1.
On your GitLab server, open the configuration file.
For omnibus package:
```sh
sudo editor /etc/gitlab/gitlab.rb
```
For installations from source:
```sh
cd /home/git/gitlab
sudo -u git -H editor config/gitlab.yml
```
1.
Enable reCAPTCHA and add the settings:
For omnibus package:
```ruby
gitlab_rails['recaptcha_enabled'] = true
gitlab_rails['recaptcha_public_key'] = 'YOUR_PUBLIC_KEY'
gitlab_rails['recaptcha_private_key'] = 'YOUR_PUBLIC_KEY'
```
For installation from source:
```
recaptcha:
enabled: true
public_key: 'YOUR_PUBLIC_KEY'
private_key: 'YOUR_PRIVATE_KEY'
```
1.
Change 'YOUR_PUBLIC_KEY' to the public key from step 2.
1.
Change 'YOUR_PRIVATE_KEY' to the private key from step 2.
1.
Save the configuration file.
1.
Restart GitLab.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment