From 965fa204405236c39d582e658fc258c6c8cc5cd6 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 26 Nov 2014 19:51:24 +0100 Subject: [PATCH] Fixed the new autologin for the graph link and edit link --- pandora_console/operation/agentes/status_monitor.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index 41eda31726..15c81ec908 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -868,13 +868,14 @@ else { $console_password = $auth_serialized["console_password"]; } - $user = str_rot13($config["id_user"]); + $user = $config["id_user"]; + $user_rot13 = str_rot13($config["id_user"]); $hashdata = $user.$pwd; $hashdata = md5($hashdata); $url_hash = "&" . "loginhash=auto&" . "loginhash_data=$hashdata&" . - "loginhash_user=$user"; + "loginhash_user=$user_rot13"; foreach ($result_server as $result_element_key => $result_element_value) {