mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Fixed the new autologin for the graph link and edit link
This commit is contained in:
parent
22105b6244
commit
097686ecf6
@ -868,13 +868,14 @@ else {
|
|||||||
$console_password = $auth_serialized["console_password"];
|
$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 = $user.$pwd;
|
||||||
$hashdata = md5($hashdata);
|
$hashdata = md5($hashdata);
|
||||||
$url_hash = "&" .
|
$url_hash = "&" .
|
||||||
"loginhash=auto&" .
|
"loginhash=auto&" .
|
||||||
"loginhash_data=$hashdata&" .
|
"loginhash_data=$hashdata&" .
|
||||||
"loginhash_user=$user";
|
"loginhash_user=$user_rot13";
|
||||||
|
|
||||||
foreach ($result_server as $result_element_key => $result_element_value) {
|
foreach ($result_server as $result_element_key => $result_element_value) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user