gitlab-org--gitlab-foss/app/helpers/kerberos_spnego_helper.rb

14 lines
316 B
Ruby
Raw Normal View History

# 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_mod_with('KerberosSpnegoHelper')