in t2 you could do: @t2.requires_login(next='login')
in auth there is: @auth.requires_login() How do I redirect to a certain page after someone tries to access a page that requires being logged in? thx, -wes --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---