Redirect loop

2009-08-24 Thread Kelvan
Hey folks, I've a strange problem at the moment with auth and login decorator. If a user is logged in index page have to redirect to portal, if the user is not logged in portal have to redirect to login-screen/index. Seems to be not a big problem, I thought, but my following code creates a loop.

User Authentication Redirect Loop

2009-07-06 Thread Darren Mansell
Hello. I'm trying to log a user in using the @login_required decorator. I've followed the examples on http://docs.djangoproject.com/en/dev/topics/auth/#topics-auth but I can't get it to stop spiraling into a redirect loop. I've tried everything I can think of but I'm