Re-add Kerberos to AuthHelper form-based providers

This commit is contained in:
Valery Sizov
2015-10-23 13:25:24 +02:00
parent 09637cc908
commit 6c6f37c8b0
+1 -1
View File
@@ -1,6 +1,6 @@
module AuthHelper
PROVIDERS_WITH_ICONS = %w(twitter github gitlab bitbucket google_oauth2).freeze
FORM_BASED_PROVIDERS = [/\Aldap/, 'crowd'].freeze
FORM_BASED_PROVIDERS = [/\Aldap/, 'kerberos', 'crowd'].freeze
def ldap_enabled?
Gitlab.config.ldap.enabled