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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/omniauth.rb')
-rw-r--r--config/initializers/omniauth.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb
index 2c7034f758d..38bd1034b36 100644
--- a/config/initializers/omniauth.rb
+++ b/config/initializers/omniauth.rb
@@ -11,14 +11,7 @@ if Gitlab::Auth::Ldap::Config.enabled?
end
end
-OmniAuth.config.full_host =
- if Feature.feature_flags_available? && ::Feature.enabled?(:omniauth_initializer_fullhost_proc)
- Gitlab::AppLogger.debug("Using OmniAuth proc initializer")
- Gitlab::OmniauthInitializer.full_host
- else
- Gitlab::AppLogger.debug("Fallback to OmniAuth static full_host")
- Settings.gitlab['base_url']
- end
+OmniAuth.config.full_host = Gitlab::OmniauthInitializer.full_host
OmniAuth.config.allowed_request_methods = [:post]
# In case of auto sign-in, the GET method is used (users don't get to click on a button)