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 2ee4be608d
This commit is contained in:
ByteHamster 2024-07-21 09:40:48 +02:00 committed by GitHub
parent 2ee4be608d
commit ae0a34d324
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ class Login extends \Flake\Core\Controller {
}
function render() {
$sActionUrl = PROJECT_BASEURI;
$sActionUrl = $GLOBALS["ROUTER"]::buildRoute("default", []);
$sSubmittedFlagName = "auth";
$sMessage = "";