From fe99fb860f12c7440752441ef0da37ed65e5bbe3 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 14 Feb 2018 19:09:06 -0500 Subject: [PATCH] Removed AuthenticationForm.get_user_id(). Unused since aab3a418ac9293bb4abd7670f65d930cb0426d58. --- django/contrib/auth/forms.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py index 2f67dc15ec..42addc190e 100644 --- a/django/contrib/auth/forms.py +++ b/django/contrib/auth/forms.py @@ -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