diff --git a/pandora_console/include/ajax/tree.ajax.php b/pandora_console/include/ajax/tree.ajax.php index 4b432736f2..6e7a612171 100644 --- a/pandora_console/include/ajax/tree.ajax.php +++ b/pandora_console/include/ajax/tree.ajax.php @@ -22,7 +22,7 @@ if (is_ajax ()) { $public_hash = get_parameter('hash', 0); // Try to authenticate by hash on public dashboards - if ($public_hash != 0) { + if ($public_hash == 0) { // Login check check_login(); } else {