From 1604c471ae128f033cd6eed5d72d5296b053c8b6 Mon Sep 17 00:00:00 2001 From: Victor Emanouilov Date: Wed, 1 May 2024 00:04:42 +0300 Subject: [PATCH] fix hm_is_logged function output when dynamic login module replaced normal login handler and is_logged is not defined - main menu is missing in that case --- modules/dynamic_login/modules.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/dynamic_login/modules.php b/modules/dynamic_login/modules.php index abe9bb328e..28f1aee31a 100644 --- a/modules/dynamic_login/modules.php +++ b/modules/dynamic_login/modules.php @@ -71,6 +71,7 @@ public function process() { } $this->session->auth_class = $this->session->get('auth_class'); $this->out('changed_settings', $this->session->get('changed_settings', array()), false); + $this->out('is_logged', true); } Hm_Request_Key::load($this->session, $this->request, $this->session->loaded); $this->validate_method($this->session, $this->request);