mirror of
https://github.com/django/django.git
synced 2024-11-18 07:26:04 +00:00
parent
f5c9bbd3e3
commit
fe99fb860f
@ -214,11 +214,6 @@ class AuthenticationForm(forms.Form):
|
||||
code='inactive',
|
||||
)
|
||||
|
||||
def get_user_id(self):
|
||||
if self.user_cache:
|
||||
return self.user_cache.id
|
||||
return None
|
||||
|
||||
def get_user(self):
|
||||
return self.user_cache
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user