From ae0a34d324d44d660f68aa4b1a775f918419af12 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 21 Jul 2024 09:40:48 +0200 Subject: [PATCH] Fix login page url (#1278) Use Flake framework to get login url. Otherwise slashes in the end of the urls are not handled correctly. Basically reverts 2ee4be608d9d353a1b82444c746855866fc7f883 --- Core/Frameworks/BaikalAdmin/Controller/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Frameworks/BaikalAdmin/Controller/Login.php b/Core/Frameworks/BaikalAdmin/Controller/Login.php index 70aa682..80c2b5d 100644 --- a/Core/Frameworks/BaikalAdmin/Controller/Login.php +++ b/Core/Frameworks/BaikalAdmin/Controller/Login.php @@ -34,7 +34,7 @@ class Login extends \Flake\Core\Controller { } function render() { - $sActionUrl = PROJECT_BASEURI; + $sActionUrl = $GLOBALS["ROUTER"]::buildRoute("default", []); $sSubmittedFlagName = "auth"; $sMessage = "";