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 350240c commit 5c1c277Copy full SHA for 5c1c277
resources/config/dist/security.php
@@ -45,4 +45,12 @@
45
$config = array_merge($config, ['firewall' => ['main' => ['anonymous' => null]]]);
46
}
47
48
+if (interface_exists(\Symfony\Component\PasswordHasher\PasswordHasherInterface::class)) {
49
+ unset($config['encoders']);
50
+ $config = array_merge($config, [
51
+ 'enable_authenticator_manager' => true,
52
+ 'password_hashers' => ['Symfony\Component\Security\Core\User\User' => 'plaintext'],
53
+ ]);
54
+}
55
+
56
$container->loadFromExtension('security', $config);
0 commit comments