From a559c7ae824b2cb6c4402642513e4181d108f87c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sun, 22 Mar 2020 11:27:58 +0100 Subject: [PATCH] misc: inherit from a2.authenticators.BaseAuthenticator (#40876) --- src/authentic2_auth_kerberos/authenticators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/authentic2_auth_kerberos/authenticators.py b/src/authentic2_auth_kerberos/authenticators.py index 383a489..ca06ab4 100644 --- a/src/authentic2_auth_kerberos/authenticators.py +++ b/src/authentic2_auth_kerberos/authenticators.py @@ -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