2018-12-05 23:21:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
module KerberosHelper
|
2016-08-24 12:49:21 +05:30
|
|
|
def allow_basic_auth?
|
|
|
|
true # different behavior in GitLab Enterprise Edition
|
|
|
|
end
|
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
def allow_kerberos_auth?
|
2016-08-24 12:49:21 +05:30
|
|
|
false # different behavior in GitLab Enterprise Edition
|
|
|
|
end
|
|
|
|
end
|
2019-12-04 20:38:33 +05:30
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
KerberosHelper.prepend_mod_with('KerberosHelper')
|