I think this is still a bug, though.
On Wednesday, September 28, 2011 10:17:26 AM UTC-4, Jim Karsten wrote:
>
> I found a work around. I had two decorators on the index controller
> functions. I separated that function into two putting a decorator on each.
>
> Previously:
> @requires_session_option
> @auth.requires_login
> def index():
> return dict()
>
> Now:
> @auth.requires_login
> def index():
> redirect(URL('get_session_option'))
>
> @requires_session_option
> def get_session_option():
> return dict()
>
> Not sure if that's optimal but it's working.
>