Re: [Django] #10857: redirect on existing auth in django.contrib.auth.views.login

2009-06-08 Thread Django
#10857: redirect on existing auth in django.contrib.auth.views.login
-+--
  Reporter:  radez   | Owner:  nobody
Status:  closed  | Milestone:
 Component:  Authentication  |   Version:  1.0   
Resolution:  wontfix |  Keywords:
 Stage:  Unreviewed  | Has_patch:  1 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by SmileyChris):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => wontfix
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 This changes the behavior of the login view for everyone. Developers may
 be relying on being able to view the login page, even if they are already
 logged in.

 Sounds like you should be wrapping the login view in your own view which
 redirects if they are already logged in (and as an aside, the patch should
 have been doing `return HttpResponseRedirect(redirect_to)`).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #10857: redirect on existing auth in django.contrib.auth.views.login

2009-04-17 Thread Django
#10857: redirect on existing auth in django.contrib.auth.views.login
+---
 Reporter:  radez   |   Owner:  nobody
   Status:  new |   Milestone:
Component:  Authentication  | Version:  1.0   
 Keywords:  |   Stage:  Unreviewed
Has_patch:  1   |  
+---
 We're using the new REMOTE_USER stuff with kerb ticket forwarding. We've
 implemented this patch to not show the login page when auth exists, such
 as the case where REMOTE_USER has succeeded. Seems it would be logical to
 impliment even if REMOTE_USER was not used at the auth backend.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---