comparison libervia/pages/login/logged/page_meta.py @ 1506:ce879da7fcf7

server: fix `on_signal` callback
author Goffi <goffi@goffi.org>
date Thu, 23 Mar 2023 17:50:54 +0100
parents f511f8fbbf8a
children 106bae41f5c8
comparison
equal deleted inserted replaced
1505:a169cbc315f0 1506:ce879da7fcf7
11 template = "login/logged.html" 11 template = "login/logged.html"
12 12
13 13
14 def prepare_render(self, request): 14 def prepare_render(self, request):
15 template_data = request.template_data 15 template_data = request.template_data
16 session_data = self.host.getSessionData(request, session_iface.ISATSession) 16 session_data = self.host.getSessionData(request, session_iface.IWebSession)
17 template_data["guest_session"] = session_data.guest 17 template_data["guest_session"] = session_data.guest
18 template_data["session_started"] = session_data.started 18 template_data["session_started"] = session_data.started