|
@@ -6,7 +6,7 @@ from .models import Adhesion
|
|
|
|
|
|
|
|
|
class AdhesionBackend(ModelBackend):
|
|
|
- def authenticate(self, username=None, password=None):
|
|
|
+ def authenticate(self, request, username=None, password=None):
|
|
|
if not username:
|
|
|
return None
|
|
|
if str(username).lower().startswith("adt"):
|