mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #27542 -- Made Client.force_login() skip auth backends without get_user().
This commit is contained in:
committed by
Tim Graham
parent
e690eb405f
commit
47744a0a4e
@@ -3,3 +3,7 @@ from django.contrib.auth.backends import ModelBackend
|
||||
|
||||
class TestClientBackend(ModelBackend):
|
||||
pass
|
||||
|
||||
|
||||
class BackendWithoutGetUserMethod(object):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user