mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Fix permanent login
This commit is contained in:
@@ -58,7 +58,7 @@ if (isset($_POST["server"])) {
|
|||||||
foreach ($permanent as $key => $val) {
|
foreach ($permanent as $key => $val) {
|
||||||
list(, $cipher) = explode(":", $val);
|
list(, $cipher) = explode(":", $val);
|
||||||
list($driver, $server, $username) = array_map('base64_decode', explode("-", $key));
|
list($driver, $server, $username) = array_map('base64_decode', explode("-", $key));
|
||||||
$_SESSION["passwords"][$driver][$server][$username] = decrypt_string($cipher, $private);
|
$_SESSION["passwords"][$driver][$server][$username] = decrypt_string(base64_decode($cipher), $private);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user