Skip to content

Commit

Permalink
Removed AuthenticationForm.get_user_id().
Browse files Browse the repository at this point in the history
Unused since aab3a41.
  • Loading branch information
timgraham committed Feb 15, 2018
1 parent f5c9bbd commit fe99fb8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions django/contrib/auth/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,6 @@ def confirm_login_allowed(self, user):
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

Expand Down

0 comments on commit fe99fb8

Please sign in to comment.