#20936: When logging out/ending a session, don't create a new, empty session
-------------------------------------+-------------------------------------
     Reporter:  mattrobenolt         |                    Owner:
         Type:                       |  mattrobenolt
  Cleanup/optimization               |                   Status:  assigned
    Component:  contrib.sessions     |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  session, logout,     |             Triage Stage:  Accepted
  auth                               |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by mattrobenolt):

 I've updated my patch to update some of the logic. To me, it looks good.

 @aaugustin, this doesn't affect any existing logic around that. The
 middleware is what's keeping track of deleting the session or not. If the
 language was preserved, the session would not be empty, meaning it
 wouldn't get deleted.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20936#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.852e6f68f047e3eff697a3940a0796f0%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to