Élie Bouttier il y a 8 ans
Parent
commit
acbdd716b1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      adhesions/backends.py

+ 1 - 1
adhesions/backends.py

@@ -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"):