Thanks, and where would I set this to get a redirect to the function being accessed? In the body of the controller function itself? I'm new to python and decorators, but I assumed nothing in the decorated function would run.
On Feb 3, 10:37 am, mdipierro <[email protected]> wrote: > auth.settings.login_next = URL(...) > > On Feb 3, 12:03 am, Dane <[email protected]> wrote: > > > Hey all, I've been using the @auth.requires_login() decorator and I > > love the simplicity. It was also pretty easily to hook it into google > > account authentication after a bit of searching on this group. My only > > problem with it is I don't want users redirected to the index after > > logging in, I'd like them to be redirected to the decorated controller > > function they initially tried to access. Any ideas? Thanks. > > > -Dane -- 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.

