I did a global search with eclipse and couldn't find anything that set auth.settings.logout_next. I am inspecting request.env.path_info through eclipse and it takes on a variety of values because of all the LOADs I do. What should I be looking for?
On Monday, April 2, 2012 3:53:12 AM UTC+8, Massimo Di Pierro wrote: > > do you have an auth.settings.logout_next = ... somewhere? Try add a > > print request.env.path_info > > in the db.py. > > I suspect somehow in the latter case you have two redirects and that > causes the flash do be eaten by the first redirect > > On Sunday, 1 April 2012 12:55:28 UTC-5, weheh wrote: >> >> Is there a good reason why auth.messages.logged_out doesn't flash upon >> logout unless there is a next argument? >> >> # this flashes >> def logout(): >> auth.messages.logged_out = 'bye bye' >> return dict(form=auth.logout(next=URL(c='mycontroller', f='index'))) >> >> # this does not flash >> def logout(): >> auth.messages.logged_out = 'bye bye' >> return dict(form=auth.logout()) >> >> >>