#13591 no dashboarid enabled

This commit is contained in:
Jonathan 2024-04-24 15:18:57 +02:00
parent b011b746c0
commit c3867e623b
1 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,13 @@ ob_start();
// Fullscreen by default.
$config['pure'] = get_parameter('pure', 1);
$dashboardId = get_parameter('dashboardId', null);
if ($dashboardId !== null) {
include 'general/noaccess.php';
return;
}
require_once 'dashboard.php';
// Clean session to avoid direct access.