You do not. After login you go back to the page that required login.
On Nov 17, 5:49 pm, Wes James <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---