Skip to content
Browse files

Fixed #7775 -- Removed some duplicated code from the admin login sequ…

…ence. Thanks to Mnewman for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 6db9fd0 commit 6c4c60b14abaea8b277fc20d66cbb47c0b8e1a80 @freakboy3742 freakboy3742 committed
Showing with 0 additions and 3 deletions.
  1. +0 −3 django/contrib/admin/
3 django/contrib/admin/
@@ -249,9 +249,6 @@ def login(self, request):
if user.is_active and user.is_staff:
login(request, user)
- # TODO: set last_login with an event.
- user.last_login =
if request.POST.has_key('post_data'):
post_data = _decode_post_data(request.POST['post_data'])
if post_data and not post_data.has_key(LOGIN_FORM_KEY):

0 comments on commit 6c4c60b

Please sign in to comment.
Something went wrong with that request. Please try again.