mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
Fix permanent login
This commit is contained in:
@@ -58,7 +58,7 @@ if (isset($_POST["server"])) {
|
||||
foreach ($permanent as $key => $val) {
|
||||
list(, $cipher) = explode(":", $val);
|
||||
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