fixed problem with session._auth_next
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 1.99.4 (2011-12-16 10:16:31) stable
|
Version 1.99.4 (2011-12-16 10:35:39) stable
|
||||||
|
|||||||
@@ -1791,6 +1791,8 @@ class Auth(object):
|
|||||||
if self.settings.login_form == self:
|
if self.settings.login_form == self:
|
||||||
if accepted_form:
|
if accepted_form:
|
||||||
callback(onaccept,form)
|
callback(onaccept,form)
|
||||||
|
if next == session._auth_next:
|
||||||
|
session._auth_next = None
|
||||||
next = replace_id(next, form)
|
next = replace_id(next, form)
|
||||||
redirect(next)
|
redirect(next)
|
||||||
table_user[username].requires = old_requires
|
table_user[username].requires = old_requires
|
||||||
|
|||||||
Reference in New Issue
Block a user