Skip to content

Commit 3cf64d6

Browse files
Merge branch '6.0' into 6.1
* 6.0: [Security] consider old session payloads as unauthenticated
2 parents 82c890b + 5580d79 commit 3cf64d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authentication/Token/AbstractToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function __serialize(): array
116116
public function __unserialize(array $data): void
117117
{
118118
[$user, , , $this->attributes, $this->roleNames] = $data;
119-
$this->user = \is_string($user) ? new InMemoryUser($user, '', $this->roleNames) : $user;
119+
$this->user = \is_string($user) ? new InMemoryUser($user, '', $this->roleNames, false) : $user;
120120
}
121121

122122
/**

0 commit comments

Comments
 (0)