1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00

Removed AuthenticationForm.get_user_id().

Unused since aab3a418ac.
This commit is contained in:
Tim Graham 2018-02-14 19:09:06 -05:00 committed by GitHub
parent f5c9bbd3e3
commit fe99fb860f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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