See http://web2py.com/books/default/chapter/29/9#Settings-and-messages. 
You'll need to set auth.settings.login_url (and maybe 
auth.settings.logged_url as well).

Anthony

On Monday, August 20, 2012 2:07:57 PM UTC-4, Pystar wrote:
>
> I have created custom login and register functions/views for reasons best 
> known to me and also created links to those functions/views sitewide in my 
> application but the issue I am having now is that if I stop using my 
> application for a while and get logged out automatically whenever I click 
> on a link that requires me to be logged into the application, I get 
> redirected to the stock login/register view page. How do I make it redirect 
> me to my own defined login/register views all the time?
> I need feedback ASAP.
> Thanks
>

-- 



Reply via email to