debian-mirror-gitlab/app/helpers/kerberos_spnego_helper.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
316 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2016-08-24 12:49:21 +05:30
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-12-04 20:38:33 +05:30
2021-06-08 01:23:25 +05:30
KerberosSpnegoHelper.prepend_mod_with('KerberosSpnegoHelper')