I have in my default controller the "user" action that exposes the
auth object. But I wanted authenticated also in a different
controller, say, second_controller. I decorated one of my action in
the "second_controller" with @auth.requires_login() and it was looking
for a "user" action in "second_controller". Do I still need to have an
action that will expose the auth object again in "second_controller"?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---