From 4c2d2e11e981c0d96065b34edc1439dc6fe4c0e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 9 Apr 2020 20:00:13 +0200 Subject: [PATCH] inherit from new base authenticator class (#41520) --- src/authentic2_auth_fedict/authenticators.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/authentic2_auth_fedict/authenticators.py b/src/authentic2_auth_fedict/authenticators.py index a51a5be..6fa2141 100644 --- a/src/authentic2_auth_fedict/authenticators.py +++ b/src/authentic2_auth_fedict/authenticators.py @@ -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):