2018-08-18 07:19:57 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-09-16 02:14:23 -04:00
|
|
|
module KerberosHelper
|
2016-07-01 05:46:56 -04:00
|
|
|
def allow_basic_auth?
|
|
|
|
true # different behavior in GitLab Enterprise Edition
|
|
|
|
end
|
|
|
|
|
2022-09-16 02:14:23 -04:00
|
|
|
def allow_kerberos_auth?
|
2016-07-01 05:46:56 -04:00
|
|
|
false # different behavior in GitLab Enterprise Edition
|
|
|
|
end
|
|
|
|
end
|
2019-09-13 09:26:31 -04:00
|
|
|
|
2022-09-16 02:14:23 -04:00
|
|
|
KerberosHelper.prepend_mod_with('KerberosHelper')
|