freebsd-ports/www/gitlab/files/patch-lib_gitlab_recaptcha.rb
Torsten Zuehlsdorff 7d02b1d89d www/gitlab: Fix options and update patches
The last update broke the options and removed
the needed gems from the Gemfile

Also update patches which weren't committed last time

Submitted by: Matthias Fechner <idefix@fechner.net>
Reported by:  remko
2017-12-01 11:03:43 +00:00

13 lines
602 B
Ruby

--- lib/gitlab/recaptcha.rb.orig 2017-11-14 20:51:25 UTC
+++ lib/gitlab/recaptcha.rb
@@ -5,8 +5,8 @@ module Gitlab
def self.load_configurations!
if current_application_settings.recaptcha_enabled
::Recaptcha.configure do |config|
- config.public_key = current_application_settings.recaptcha_site_key
- config.private_key = current_application_settings.recaptcha_private_key
+ config.site_key = current_application_settings.recaptcha_site_key
+ config.secret_key = current_application_settings.recaptcha_private_key
end
true