diff options
Diffstat (limited to 'app/helpers/kerberos_helper.rb')
-rw-r--r-- | app/helpers/kerberos_helper.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/helpers/kerberos_helper.rb b/app/helpers/kerberos_helper.rb new file mode 100644 index 00000000000..31166772367 --- /dev/null +++ b/app/helpers/kerberos_helper.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module KerberosHelper + def allow_basic_auth? + true # different behavior in GitLab Enterprise Edition + end + + def allow_kerberos_auth? + false # different behavior in GitLab Enterprise Edition + end +end + +KerberosHelper.prepend_mod_with('KerberosHelper') |