web2py/web2py — pull request #211 by nursix (2013-09-12 10:33:41+00:00)
Title: Pointless to set session.flash before session.renew

The logout message would be removed by session.renew => this commit switches the order of action