From ba413775c7d41ae27db066f1babcffe8862db4da Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 24 Mar 2025 19:06:09 -0600 Subject: [PATCH] Get the login destination from the settings --- login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login.php b/login.php index 1eec880a93..4f35856c04 100644 --- a/login.php +++ b/login.php @@ -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/')); ?>