mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fixup! Fix configuration and usage of password hasher
This commit is contained in:
parent
e3bd68112e
commit
29d53c53a4
@ -139,7 +139,7 @@ final class UserControllerTest extends WebTestCase
|
|||||||
{
|
{
|
||||||
/** @var \Symfony\Component\PasswordHasher\Hasher\UserPasswordHasher $passwordEncoder */
|
/** @var \Symfony\Component\PasswordHasher\Hasher\UserPasswordHasher $passwordEncoder */
|
||||||
$passwordEncoder = self::getContainer()
|
$passwordEncoder = self::getContainer()
|
||||||
->get(\Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface::class);
|
->get(UserPasswordHasherInterface::class);
|
||||||
|
|
||||||
$user = self::getContainer()->get(UserRepositoryInterface::class)
|
$user = self::getContainer()->get(UserRepositoryInterface::class)
|
||||||
->findOneBy(['username' => $username]);
|
->findOneBy(['username' => $username]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user