misc: inherit from a2.authenticators.BaseAuthenticator (#40876)

This commit is contained in:
Benjamin Dauvergne 2020-03-22 11:27:58 +01:00
parent 5d3bbc5db4
commit a559c7ae82
1 changed files with 2 additions and 2 deletions

View File

@ -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