diff --git a/VERSION b/VERSION index 22cf4c39..f2917afc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2011-12-16 10:16:31) stable +Version 1.99.4 (2011-12-16 10:35:39) stable diff --git a/gluon/tools.py b/gluon/tools.py index ca088729..2981ec6e 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -1791,6 +1791,8 @@ class Auth(object): if self.settings.login_form == self: if accepted_form: callback(onaccept,form) + if next == session._auth_next: + session._auth_next = None next = replace_id(next, form) redirect(next) table_user[username].requires = old_requires