#21911: Admin login can cause data loss
---------------------------------+------------------------------------
     Reporter:  pennersr         |                    Owner:  nobody
         Type:  Bug              |                   Status:  closed
    Component:  contrib.admin    |                  Version:  master
     Severity:  Release blocker  |               Resolution:  fixed
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by Claude Paroz <claude@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"be0ad62994a340ad54a0b328771931932a45a899"]:
 {{{
 #!CommitTicketReference repository=""
 revision="be0ad62994a340ad54a0b328771931932a45a899"
 Fixed #21911 -- Made admin views redirect to login when needed

 Historically, the Django admin used to pass through the request
 from an unauthorized access to the login view directly. Now we
 are using a proper redirection, which is also preventing
 inadvertantly changing data when POSTing login data to an admin
 view when user is already authorized.
 Thanks Marc Tamlyn and Tim Graham for the reviews.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21911#comment:9>
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/066.6c34c5f6e3dd869fd384cff2b0883b82%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to