debian-mirror-gitlab/app/helpers/kerberos_spnego_helper.rb
2019-12-04 20:38:33 +05:30

13 lines
317 B
Ruby

# frozen_string_literal: true
module KerberosSpnegoHelper
def allow_basic_auth?
true # different behavior in GitLab Enterprise Edition
end
def allow_kerberos_spnego_auth?
false # different behavior in GitLab Enterprise Edition
end
end
KerberosSpnegoHelper.prepend_if_ee('EE::KerberosSpnegoHelper')