Skip to content

Skip OmniAuth init when LDAP is disabled

gitlab-qa-bot requested to merge github/fork/mr-vinn/fix-omniauth-init into master

Created by: mr-vinn

The OmniAuth initializer uses config settings that are only assigned when LDAP is enabled or when GitLab is run in the test environment, so those same conditions should be applied to the initializer itself.

Merge request reports