Skip to content

Commit 454c052

Browse files
fix
1 parent 3d5b20d commit 454c052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

KernelBrowser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function loginUser($user, string $firewallContext = 'main'): self
124124
$token->setAuthenticated(true);
125125

126126
$container = $this->getContainer();
127-
$container->get('security.token_storage')->setToken($token);
127+
$container->get('security.untracked_token_storage')->setToken($token);
128128

129129
if (!$container->has('session')) {
130130
return $this;

0 commit comments

Comments
 (0)