misc: rename authentication "frontend" to "authenticator" (#14475)
This commit is contained in:
parent
8045695973
commit
edc3ffaade
|
@ -15,8 +15,8 @@ class Plugin(object):
|
|||
def get_authentication_backends(self):
|
||||
return ['authentic2_auth_fc.backends.FcBackend']
|
||||
|
||||
def get_auth_frontends(self):
|
||||
return ['authentic2_auth_fc.auth_frontends.FcFrontend']
|
||||
def get_authenticators(self):
|
||||
return ['authentic2_auth_fc.authenticators.FcAuthenticator']
|
||||
|
||||
def redirect_logout_list(self, request, **kwargs):
|
||||
from django.core.urlresolvers import reverse
|
||||
|
|
|
@ -7,7 +7,7 @@ from authentic2 import app_settings as a2_app_settings, utils as a2_utils
|
|||
from . import app_settings
|
||||
|
||||
|
||||
class FcFrontend(object):
|
||||
class FcAuthenticator(object):
|
||||
def enabled(self):
|
||||
return app_settings.enable
|
||||
|
Reference in New Issue