author | Thierry Florac <thierry.florac@onf.fr> |
Wed, 07 May 2014 17:59:02 +0200 | |
changeset 10 | f368f6dfd92d |
parent 9 | f5fda123ea09 |
child 11 | b10ce40a64f4 |
--- a/src/ztfy/myams/page.py Wed May 07 17:57:28 2014 +0200 +++ b/src/ztfy/myams/page.py Wed May 07 17:59:02 2014 +0200 @@ -118,4 +118,4 @@ auth.unauthorized(principal.id, self.request) writer = getUtility(IJSONWriter) return writer.write({'status': 'modal', - 'location': 'login-dialog.html' % absoluteURL(self.context, self.request)}) + 'location': 'login-dialog.html?came_from=%s' % absoluteURL(self.context, self.request)})