Commit bbc17586 authored by Anthony Gautreau's avatar Anthony Gautreau
Browse files

Ajout du role

parent fafd48bf
Loading
Loading
Loading
Loading
+1 −1
Changes for src/Entity/Role.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ use Unicaen\Utilisateur\Repository\UtilisateurRepository;
use Doctrine\ORM\Mapping as ORM;

#[ApiResource(
    shortName: 'role',
    shortName: 'Role',
)]
#[ORM\Entity]
#[ORM\Table(name: '`unicaen_utilisateur_role`')]
+1 −1
Changes for src/Entity/User.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ use Unicaen\Utilisateur\State\UtilisateurMeStateProvider;
use Unicaen\Utilisateur\State\UtilisateurPasswordHasherProcessor;

#[ApiResource(
    shortName: 'utilisateur',
    shortName: 'Utilisateur',
    operations: [
        new Get(),
        new Get(