diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-28 11:55:21 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-28 11:55:21 +0000 |
commit | 202010e33fc546a8529b3a7a6f919a6814ccf6eb (patch) | |
tree | 4cc942dd642760ec8802acc165bc325263153a44 /Gemfile | |
parent | 19054ba32bc22aec98cd1892bf6ce11fed5ae03f (diff) | |
parent | 9e0f532f3eca474bbb4bdf49ea744afb23178b82 (diff) | |
download | gitlab-ce-202010e33fc546a8529b3a7a6f919a6814ccf6eb.tar.gz |
Merge branch 'add-recaptcha-support' into 'master'
Add support for Google reCAPTCHA in user registration to prevent spammers
To do:
- [x] Failing reCAPTCHA test causes all the fields to be lost
- ~~[ ] Improve styling of reCAPTCHA box~~ (not possible)
- ~~[ ] Put settings in `application_settings` (?)~~
![image](/uploads/d38ca89820d3c0066fb8aeb645fd77f0/image.png)
![image](/uploads/6b050749963691b023d076682abcf736/image.png)
Page when you fail CAPTCHA:
![image](/uploads/bc4846f0a5144985bc41dfa75eeab4c1/image.png)
See merge request !2216
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -35,6 +35,9 @@ gem 'omniauth-twitter', '~> 1.2.0' gem 'omniauth_crowd' gem 'rack-oauth2', '~> 1.2.1' +# reCAPTCHA protection +gem 'recaptcha', require: 'recaptcha/rails' + # Two-factor authentication gem 'devise-two-factor', '~> 2.0.0' gem 'rqrcode-rails3', '~> 0.1.7' |