Commit 97dd5811 authored by Hamza Dely's avatar Hamza Dely

LDAPUserBackend.authenticate accepte n'importe quel argument optionnel sans planter

parent 1331cc44
......@@ -100,7 +100,7 @@ class LDAPUserBackend(ModelBackend):
supports_anonymous_user = False
@sensitive_variables('password')
def authenticate(self, username=None, password=None):
def authenticate(self, username=None, password=None, **kwargs):
"""Authentifie l'utilisateur sur la base LDAP. Crée un
utilisateur django s'il n'existe pas encore."""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment