summaryrefslogtreecommitdiff
path: root/app/helpers/kerberos_spnego_helper.rb
blob: ed09ed755fe1702fbfa4031593f2ab2bb6fd0a06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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')