misc: rename authentication "frontend" to "authenticator" (#14475)

This commit is contained in:
Serghei Mihai 2019-03-06 14:43:45 +01:00
parent 3a56283edf
commit 95f57ef4bb
2 changed files with 3 additions and 3 deletions

View File

@ -42,8 +42,8 @@ class Plugin(object):
def get_authentication_backends(self):
return ['authentic2_auth_fedict.backends.FedictBackend']
def get_auth_frontends(self):
return ['authentic2_auth_fedict.auth_frontends.FedictFrontend']
def get_authenticators(self):
return ['authentic2_auth_fedict.authenticators.FedictAuthenticator']
def redirect_logout_list(self, request, next_url=None):
from mellon.views import logout

View File

@ -25,7 +25,7 @@ from authentic2.utils import redirect_to_login
from . import app_settings
class FedictFrontend(object):
class FedictAuthenticator(object):
id = 'fedict'
def enabled(self):