fixed problem with session._auth_next

This commit is contained in:
Massimo Di Pierro
2011-12-16 10:35:45 -06:00
parent 64d5a1c5ae
commit 6ae47144cd
2 changed files with 3 additions and 1 deletions

View File

@@ -1 +1 @@
Version 1.99.4 (2011-12-16 10:16:31) stable
Version 1.99.4 (2011-12-16 10:35:39) stable

View File

@@ -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