diff options
| author | Tim Graham <timograham@gmail.com> | 2018-02-14 19:09:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-14 19:09:06 -0500 |
| commit | fe99fb860f12c7440752441ef0da37ed65e5bbe3 (patch) | |
| tree | ec0162b2bea8e70fa08498740a8b8d74748ca7b9 | |
| parent | f5c9bbd3e37d00508123b860588307e1026e8aec (diff) | |
Removed AuthenticationForm.get_user_id().
Unused since aab3a418ac9293bb4abd7670f65d930cb0426d58.
| -rw-r--r-- | django/contrib/auth/forms.py | 5 |
1 files changed, 0 insertions, 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 |
