Symfony 4 / Sonata: Create a front-end authentication
To use a different table from the default one for authentication, First we need to create our entity that will manage our users. This entity must then be implemented to UserInterface. So we need to add a reference to the component and implement it: <?php namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping\Entity; use Doctrine\ORM\Mapping\Tabl...