fixed logout

This commit is contained in:
Zdenek Borovec 2024-05-13 19:11:40 +02:00
parent 04bf687890
commit d085dfaca9

View file

@ -57,8 +57,10 @@ if (isset($_POST["logout"])) {
} }
// Redirect to this page with GET // Redirect to this page with GET
header(sprintf("Location: %s?%s", sanitize_input($_SERVER["PHP_SELF"]), header(sprintf("Location: %s/?%s",
sanitize_input($_SERVER["PHP_SELF"]),
sanitize_input($_POST["get_params"]))); sanitize_input($_POST["get_params"])));
die();
} }
/** /**