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()) > > >