Fix permanent login

This commit is contained in:
Jakub Vrana 2010-08-06 16:03:00 +02:00
parent cc79e4b8d7
commit d02252537d

View file

@ -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);
}
}