2018-08-18 07:19:57 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-07-01 05:46:56 -04:00
|
|
|
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
|
2019-09-13 09:26:31 -04:00
|
|
|
|
2021-05-11 17:10:21 -04:00
|
|
|
KerberosSpnegoHelper.prepend_mod_with('KerberosSpnegoHelper')
|