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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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/'));
?>