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.

Reply via email to