Fixed the new autologin for the graph link and edit link

This commit is contained in:
mdtrooper 2014-11-26 19:51:24 +01:00
parent 1fde3f7854
commit 5211c48643
1 changed files with 3 additions and 2 deletions

View File

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