misc: inherit from a2.authenticators.BaseAuthenticator (#40876)
This commit is contained in:
parent
5d3bbc5db4
commit
a559c7ae82
|
@ -1,12 +1,12 @@
|
|||
from django.utils.translation import gettext_noop
|
||||
from django.shortcuts import render
|
||||
|
||||
from authentic2 import constants, utils
|
||||
from authentic2 import utils, authenticators
|
||||
|
||||
from . import app_settings
|
||||
|
||||
|
||||
class KerberosAuthenticator(object):
|
||||
class KerberosAuthenticator(authenticators.BaseAuthenticator):
|
||||
def enabled(self):
|
||||
return app_settings.ENABLE
|
||||
|
||||
|
|
Loading…
Reference in New Issue