Welcome to mirror list, hosted at ThFree Co, Russian Federation.

recaptcha.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7509e327ae1eee23bd9c1b266342216995a79288 (plain)
1
2
3
4
5
6
if Gitlab.config.recaptcha.enabled
  Recaptcha.configure do |config|
    config.public_key  = Gitlab.config.recaptcha['public_key']
    config.private_key = Gitlab.config.recaptcha['private_key']
  end
end