Get the login destination from the settings

This commit is contained in:
FusionPBX
2025-03-24 19:06:09 -06:00
committed by GitHub
parent 9d43254603
commit ba413775c7

View File

@@ -30,6 +30,6 @@
require_once "resources/check_auth.php";
//redirect to the dashboard
header("Location: ".PROJECT_PATH."/core/dashboard/");
header("Location: ".$settings->get('login', 'destination', PROJECT_PATH.'/core/dashboard/'));
?>