>
> I am using the following, but does not work:
>      
>
>      auth.settings.login_next = URL('index')
>
> I have put the above line inside my db.py.... 
>
>
The above only works if the user somehow goes directly to the login page. 
However, if the user gets to the login page via a redirect that resulted 
from trying to access a controller action protected by an @auth decorator, 
then they will automatically be redirected back to the requested URL after 
login (which is generally the behavior you want). Is that what you are 
observing, or does login_next always fail to work, even when directly 
accessing the login page?

Anthony

Reply via email to