)]}'
{"horizon/middleware.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"364e142018ad78d6a67ee004d25b5b4fd730d70b","unresolved":false,"context_lines":[{"line_number":61,"context_line":"        last_activity \u003d request.session.get(\u0027last_activity\u0027, None)"},{"line_number":62,"context_line":"        timestamp \u003d datetime.datetime.now()"},{"line_number":63,"context_line":"        if last_activity and (timestamp - last_activity).seconds \u003e timeout:"},{"line_number":64,"context_line":"            logout(request)"},{"line_number":65,"context_line":"        request.session[\u0027last_activity\u0027] \u003d timestamp"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        request.horizon \u003d {\u0027dashboard\u0027: None,"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAPn%2F%2FywY%3D","line":64,"updated":"2013-06-21 05:51:16.000000000","message":"Instead of calling the django logout() can you redirect to the logout page instead?\n\nThere is a token cleanup performed during logout in openstack_auth: https://github.com/gabrielhurley/django_openstack_auth/blob/master/openstack_auth/views.py#L77\n\nIf you call the django logout() it doesn\u0027t perform the token cleanup.","commit_id":"dfb0f51d2e730e4693272d8f5f93c048d4f65f7a"}]}
