add interface in the user entity

This commit is contained in:
Simon Vieille 2022-01-24 22:07:40 +01:00
parent 683b9154c9
commit 0ac49a6930
1 changed files with 2 additions and 1 deletions

View File

@ -7,13 +7,14 @@ use App\Core\Entity\EntityInterface;
use App\Repository\UserRepository;
use Doctrine\ORM\Mapping as ORM;
use Scheb\TwoFactorBundle\Model\Google\TwoFactorInterface;
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
use Symfony\Component\Security\Core\User\UserInterface;
/**
* @ORM\Entity(repositoryClass=UserRepository::class)
* @ORM\HasLifecycleCallbacks()
*/
class User implements UserInterface, TwoFactorInterface, EntityInterface
class User implements PasswordAuthenticatedUserInterface, UserInterface, TwoFactorInterface, EntityInterface
{
use Timestampable;
/**