diff options
author | Stan Hu <stanhu@gmail.com> | 2015-12-28 07:36:33 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-12-28 07:38:44 +0300 |
commit | 9e0f532f3eca474bbb4bdf49ea744afb23178b82 (patch) | |
tree | d9879f491173be5949639819055e3336c4b3efc7 /config | |
parent | 4c6591c9220676c97ddf2dda36e8e855d3196a74 (diff) |
Add documentation for using reCAPTCHA
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/1_settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index 0dc4838fec1..fb7adc77284 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -133,7 +133,7 @@ Settings.omniauth.session_tickets['cas3'] = 'ticket' # ReCAPTCHA settings Settings['recaptcha'] ||= Settingslogic.new({}) -Settings.recaptcha['enabled'] = false if Settings.recaptcha['enabled'].nil? +Settings.recaptcha['enabled'] = false if Settings.recaptcha['enabled'].nil? Settings.recaptcha['public_key'] ||= Settings.recaptcha['public_key'] Settings.recaptcha['private_key'] ||= Settings.recaptcha['private_key'] |