Skip to content

Commit

Permalink
Update Session.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Jan 3, 2024
1 parent c031799 commit 9b8e146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webfiori/framework/session/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public function deserialize(string $serialized): bool {
{
throw new SessionException($errStr, $errNo);
});
$sessionObj = unserialize(base64_decode($decrypted));
$sessionObj = unserialize(base64_decode(trim($decrypted)));
restore_error_handler();

if ($sessionObj instanceof Session) {
Expand Down

0 comments on commit 9b8e146

Please sign in to comment.