Skip to content
Snippets Groups Projects
Commit 7d2655aa authored by Ben Rosser's avatar Ben Rosser
Browse files

Remove 'kerberos' from auth_helper.rb for gitlab-CE.

There is no Kerberos auth in gitlab-ce, so it shouldn't be noted
as a form-driven auth mechanism in app/helpers/auth_helper.rb.
This breaks using Kerberos as a custom omniauth provider.
See issue #2510
parent 3656c2fa
No related branches found
No related tags found
No related merge requests found
module AuthHelper
PROVIDERS_WITH_ICONS = %w(twitter github gitlab bitbucket google_oauth2).freeze
FORM_BASED_PROVIDERS = [/\Aldap/, 'kerberos', 'crowd'].freeze
FORM_BASED_PROVIDERS = [/\Aldap/, 'crowd'].freeze
 
def ldap_enabled?
Gitlab.config.ldap.enabled
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment