Skip to content

Commit 9f76dd5

Browse files
committed
minor #14546 Fix user entity import (obsirdian)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Fix user entity import The user entity import was incorrectly set to import from the Security namespace instead of Entity. https://symfony.com/doc/4.4/security/user_checkers.html <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- bea2e77 Fix user entity import
2 parents e9e1056 + bea2e77 commit 9f76dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/user_checkers.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ or :class:`Symfony\\Component\\Security\\Core\\Exception\\AuthenticationExceptio
2121

2222
namespace App\Security;
2323

24+
use App\Entity\User as AppUser;
2425
use App\Exception\AccountDeletedException;
25-
use App\Security\User as AppUser;
2626
use Symfony\Component\Security\Core\Exception\AccountExpiredException;
2727
use Symfony\Component\Security\Core\User\UserCheckerInterface;
2828
use Symfony\Component\Security\Core\User\UserInterface;

0 commit comments

Comments
 (0)