mirror of
https://github.com/django/django.git
synced 2025-09-18 16:30:01 +00:00
parent
f5c9bbd3e3
commit
fe99fb860f
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue