diff libervia/server/session_iface.py @ 1275:334d044f2713

server: default theme can now be specified in site section of `sat.conf` with `theme` key
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 16:47:50 +0200
parents 6dfcdbeb0d33
children a0954b6610aa
line wrap: on
line diff
--- a/libervia/server/session_iface.py	Fri May 29 21:56:42 2020 +0200
+++ b/libervia/server/session_iface.py	Fri Jun 19 16:47:50 2020 +0200
@@ -50,7 +50,7 @@
         self.identities = data_objects.Identities()
         self.csrf_token = str(shortuuid.uuid())
         self.locale = None  # i18n of the pages
-        self.theme = C.TEMPLATE_THEME_DEFAULT
+        self.theme = None
         self.pages_data = {}  # used to keep data accross reloads (key is page instance)
         self.affiliations = OrderedDict()  # cache for node affiliations