On enlève le return None
This commit is contained in:
parent
408aa51e5b
commit
5dfb23bde5
1 changed files with 0 additions and 1 deletions
|
@ -51,4 +51,3 @@ class ElectionBackend(ModelBackend):
|
||||||
|
|
||||||
if user.check_password(password):
|
if user.check_password(password):
|
||||||
return user
|
return user
|
||||||
return None
|
|
||||||
|
|
Loading…
Reference in a new issue