Hi all

I am trying to build a login page using Django auth app, it is all working 
nice but there is one problem: If I browse to accounts/login (the login 
url) when I am already logged in, in normal situation the login view 
shouldn't be rendered and the correct action will be to redirect to the 
home page/the request url/etc..

But this just doesn't happen ! It renders the login view normally as if I 
am not logged in!
I even checked the source code, and indeed it doesn't check whether the 
user is already logged in.

So is this a bug or something ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/YtY426bWAiUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to