Some minor fixes and cleanups.
This commit is contained in:
parent
07944918f7
commit
4a97a05c10
3 changed files with 3 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ class CaseInsensitiveModelBackend(ModelBackend):
|
|||
return autologin
|
||||
else:
|
||||
# In this case .backend will be assigned automatically
|
||||
# somewhere along the # way.
|
||||
# somewhere along the way.
|
||||
Player = get_user_model()
|
||||
try:
|
||||
player = Player.objects.get(username__iexact=username)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue