fixed issue 1158, redirect client_side in auth forms embedded via LOAD, thanks PyCon support
This commit is contained in:
+1
-1
@@ -154,4 +154,4 @@ def redirect(location='', how=303, client_side=False):
|
||||
from gluon import current
|
||||
if client_side and current.request.ajax:
|
||||
raise HTTP(200, **{'web2py-component-command': 'window.location.reload(true)'})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user