inherit from new base authenticator class (#41520)
This commit is contained in:
parent
418a67a461
commit
4c2d2e11e9
|
@ -20,12 +20,13 @@ from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
from mellon.utils import get_idp, get_idps
|
from mellon.utils import get_idp, get_idps
|
||||||
|
|
||||||
|
from authentic2.authenticators import BaseAuthenticator
|
||||||
from authentic2.utils import redirect_to_login
|
from authentic2.utils import redirect_to_login
|
||||||
|
|
||||||
from . import app_settings
|
from . import app_settings
|
||||||
|
|
||||||
|
|
||||||
class FedictAuthenticator(object):
|
class FedictAuthenticator(BaseAuthenticator):
|
||||||
id = 'fedict'
|
id = 'fedict'
|
||||||
|
|
||||||
def enabled(self):
|
def enabled(self):
|
||||||
|
|
Loading…
Reference in New Issue