misc: rename authentication "frontend" to "authenticator" (#14475)
This commit is contained in:
parent
3a56283edf
commit
95f57ef4bb
|
@ -42,8 +42,8 @@ class Plugin(object):
|
||||||
def get_authentication_backends(self):
|
def get_authentication_backends(self):
|
||||||
return ['authentic2_auth_fedict.backends.FedictBackend']
|
return ['authentic2_auth_fedict.backends.FedictBackend']
|
||||||
|
|
||||||
def get_auth_frontends(self):
|
def get_authenticators(self):
|
||||||
return ['authentic2_auth_fedict.auth_frontends.FedictFrontend']
|
return ['authentic2_auth_fedict.authenticators.FedictAuthenticator']
|
||||||
|
|
||||||
def redirect_logout_list(self, request, next_url=None):
|
def redirect_logout_list(self, request, next_url=None):
|
||||||
from mellon.views import logout
|
from mellon.views import logout
|
||||||
|
|
|
@ -25,7 +25,7 @@ from authentic2.utils import redirect_to_login
|
||||||
from . import app_settings
|
from . import app_settings
|
||||||
|
|
||||||
|
|
||||||
class FedictFrontend(object):
|
class FedictAuthenticator(object):
|
||||||
id = 'fedict'
|
id = 'fedict'
|
||||||
|
|
||||||
def enabled(self):
|
def enabled(self):
|
Loading…
Reference in New Issue