inherit from new base authenticator class (#41520)

This commit is contained in:
Frédéric Péters 2020-04-09 20:00:13 +02:00
parent 418a67a461
commit 4c2d2e11e9
1 changed files with 2 additions and 1 deletions

View File

@ -20,12 +20,13 @@ from django.utils.translation import ugettext_lazy as _
from mellon.utils import get_idp, get_idps
from authentic2.authenticators import BaseAuthenticator
from authentic2.utils import redirect_to_login
from . import app_settings
class FedictAuthenticator(object):
class FedictAuthenticator(BaseAuthenticator):
id = 'fedict'
def enabled(self):