Fix bug where panel_config would always be loaded

This commit is contained in:
amcmanu3 2024-01-28 12:58:18 -05:00
parent 0fa7b592cc
commit 854a9643e5

View File

@ -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