web/application.py
changeset 5508 6718ba5db0eb
parent 5442 3ed8afbbdf70
parent 5494 f3bb53f1737c
child 5590 a56eb02f9ce7
--- a/web/application.py	Thu May 06 14:29:07 2010 +0200
+++ b/web/application.py	Mon May 10 16:59:32 2010 +0200
@@ -270,7 +270,7 @@
         """logout from the instance by cleaning the session and raising
         `AuthenticationError`
         """
-        self.session_manager.close_session(req.cnx)
+        self.session_manager.close_session(req.session)
         req.remove_cookie(req.get_cookie(), self.SESSION_VAR)
         raise LogOut(url=goto_url)