diff --git a/rhodecode/authentication/base.py b/rhodecode/authentication/base.py --- a/rhodecode/authentication/base.py +++ b/rhodecode/authentication/base.py @@ -220,6 +220,7 @@ class RhodeCodeAuthPluginBase(object): """ raise NotImplementedError("Not implemented in base class") + @property def is_headers_auth(self): """ Returns True if this authentication plugin uses HTTP headers as diff --git a/rhodecode/authentication/plugins/auth_headers.py b/rhodecode/authentication/plugins/auth_headers.py --- a/rhodecode/authentication/plugins/auth_headers.py +++ b/rhodecode/authentication/plugins/auth_headers.py @@ -105,8 +105,8 @@ class RhodeCodeAuthPlugin(RhodeCodeExter def name(self): return 'headers' - @hybrid_property - def is_container_auth(self): + @property + def is_headers_auth(self): return True def use_fake_password(self): diff --git a/rhodecode/authentication/plugins/auth_jasig_cas.py b/rhodecode/authentication/plugins/auth_jasig_cas.py --- a/rhodecode/authentication/plugins/auth_jasig_cas.py +++ b/rhodecode/authentication/plugins/auth_jasig_cas.py @@ -96,8 +96,8 @@ class RhodeCodeAuthPlugin(RhodeCodeExter def name(self): return "jasig-cas" - @hybrid_property - def is_container_auth(self): + @property + def is_headers_auth(self): return True def use_fake_password(self):