mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix bug where panel_config would always be loaded
This commit is contained in:
parent
0fa7b592cc
commit
854a9643e5
@ -285,8 +285,8 @@ class PanelHandler(BaseHandler):
|
||||
"Could not capture time zone from system. Falling back to Europe/London"
|
||||
)
|
||||
tz = "Europe/London"
|
||||
|
||||
page = "panel_config"
|
||||
if exec_user["username"] == "anti-lockout-user":
|
||||
page = "panel_config"
|
||||
|
||||
page_data: t.Dict[str, t.Any] = {
|
||||
# todo: make this actually pull and compare version data
|
||||
|
Loading…
Reference in New Issue
Block a user