Skip to content

Commit 3c5ebdb

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: Fix KernelBrowser::loginUser() causing deprecation [Translation][Loco] Make http requests synchronous when reading the Loco API
2 parents 883d353 + 98d112e commit 3c5ebdb

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
@@ -127,7 +127,7 @@ public function loginUser(object $user, string $firewallContext = 'main'): self
127127
$token = new TestBrowserToken($user->getRoles(), $user, $firewallContext);
128128
// @deprecated since Symfony 5.4
129129
if (method_exists($token, 'setAuthenticated')) {
130-
$token->setAuthenticated(true);
130+
$token->setAuthenticated(true, false);
131131
}
132132

133133
$container = $this->getContainer();

0 commit comments

Comments
 (0)