diff -r 083b4d454192 -r dcb055f32d9b web/application.py --- a/web/application.py Mon Mar 01 11:26:14 2010 +0100 +++ b/web/application.py Tue Mar 16 16:32:36 2010 +0100 @@ -217,13 +217,13 @@ path = 'view' raise Redirect(req.build_url(path, **args)) - def logout(self, req): + def logout(self, req, goto_url): """logout from the instance by cleaning the session and raising `AuthenticationError` """ self.session_manager.close_session(req.cnx) req.remove_cookie(req.get_cookie(), self.SESSION_VAR) - raise AuthenticationError() + raise AuthenticationError(url=goto_url) class CubicWebPublisher(object):