#12233: Allow the login view to redirect an already logged in user
-------------------------------------+-------------------------------------
     Reporter:  dmathieu             |                    Owner:
                                     |  aaronbassett
         Type:  New feature          |                   Status:  closed
    Component:  contrib.auth         |                  Version:
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
  authentication,login               |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

 In [changeset:"10781b4c6ff981f581157957d221e7621e0bf4ed" 10781b4]:
 {{{
 #!CommitTicketReference repository=""
 revision="10781b4c6ff981f581157957d221e7621e0bf4ed"
 Fixed #12233 -- Allowed redirecting authenticated users away from the
 login view.

 contrib.auth.views.login() has a new parameter
 `redirect_authenticated_user`
 to automatically redirect authenticated users visiting the login page.

 Thanks to dmathieu and Alex Buchanan for the original code and to Carl
 Meyer
 for the help and review.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/12233#comment:23>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.54aaa0a1e713ff943cbc4ce3b8db5e2d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to