From cc16d80a006a1e02f66e5901fc90b9903299ddd6 Mon Sep 17 00:00:00 2001 From: marcos Date: Thu, 11 Jun 2020 17:49:28 +0200 Subject: [PATCH] fixed error with dashboard home page --- pandora_console/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandora_console/index.php b/pandora_console/index.php index 6619b75b78..e272fb14a7 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -685,6 +685,11 @@ if (! isset($config['id_user'])) { unset($query_params_redirect['sec2']); } + // Dashboard do not want sec2. + if ($home_page == 'Dashboard') { + unset($query_params_redirect['sec2']); + } + $redirect_url = '?logged=1'; foreach ($query_params_redirect as $key => $value) { if ($key == 'login') {