fixed error with dashboard home page

This commit is contained in:
marcos 2020-06-11 17:49:28 +02:00
parent 9a65b61e25
commit cc16d80a00
1 changed files with 5 additions and 0 deletions

View File

@ -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') {