diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-24 21:10:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-24 21:10:53 +0300 |
commit | e9322e019bfeb7f33ce4c17662d93e6579303c2b (patch) | |
tree | 0c1dd4ac4e8f60164f7e21ba33bf0b1ee867c347 /lib/gitlab/gon_helper.rb | |
parent | 234dc40a12a1cdaef0cdb825ca4acc3f271c6394 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r-- | lib/gitlab/gon_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index 16a8b5f959e..452f8d8f72e 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -21,6 +21,8 @@ module Gitlab gon.sentry_environment = Gitlab.config.sentry.environment end + gon.recaptcha_api_server_url = ::Recaptcha.configuration.api_server_url + gon.recaptcha_sitekey = Gitlab::CurrentSettings.recaptcha_site_key gon.gitlab_url = Gitlab.config.gitlab.url gon.revision = Gitlab.revision gon.feature_category = Gitlab::ApplicationContext.current_context_attribute(:feature_category).presence |