We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 153b5f6 commit 0538e3bCopy full SHA for 0538e3b
Tests/Functional/app/Configuration/security.php
@@ -1,12 +1,13 @@
1
<?php
2
3
use Symfony\Component\Security\Core\Security;
4
+use Symfony\Component\Security\Http\Controller\UserValueResolver;
5
6
$defaultFirewall = [
7
'anonymous' => null,
8
];
9
-if (method_exists(Security::class, 'getUser')) {
10
+if (method_exists(Security::class, 'getUser') && !class_exists(UserValueResolver::class)) {
11
$defaultFirewall['logout_on_user_change'] = true;
12
}
13
0 commit comments