This one has been torturing me for a while. Here is how to replicate
it consistently (and possibly fix it):
1. Create a brand new application (in my case named 'ttt')
2. In db.py say auth.settings.expiration=10 (so sessions expire
quick)
3. In the default controller create a new function:
This is indeed a bug. I am working to fix it.
On Sep 28, 10:10 am, Anthony abasta...@gmail.com wrote:
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
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():
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
On Sep 28, 2011, at 8:10 AM, Anthony wrote:
I think this is still a bug, though.
Shouldn't that have been:
@auth.requires_login
@requires_session_option
def index():
return dict()
?
On Wednesday, September 28, 2011 10:17:26 AM UTC-4, Jim Karsten wrote:
I found a work around. I
5 matches
Mail list logo