Ticket #7775: 7775-duplicate-auth-code.diff
File 7775-duplicate-auth-code.diff, 680 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/sites.py
249 249 else: 250 250 if user.is_active and user.is_staff: 251 251 login(request, user) 252 # TODO: set last_login with an event.253 user.last_login = datetime.datetime.now()254 user.save()255 252 if request.POST.has_key('post_data'): 256 253 post_data = _decode_post_data(request.POST['post_data']) 257 254 if post_data and not post_data.has_key(LOGIN_FORM_KEY):