diff --git a/VERSION b/VERSION index c89eb433..5d6f4f75 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.6.1-stable+timestamp.2013.09.13.15.38.54 +Version 2.6.1-stable+timestamp.2013.09.13.15.41.09 diff --git a/gluon/tools.py b/gluon/tools.py index da913ed3..13e5a9c8 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -2414,9 +2414,9 @@ class Auth(object): next = cas.logout_url(next) current.session.auth = None - current.session.flash = self.messages.logged_out if self.settings.renew_session_onlogout: current.session.renew(clear_session=not self.settings.keep_session_onlogout) + current.session.flash = self.messages.logged_out if not next is None: redirect(next)