controllers

This commit is contained in:
allavenavr 2024-11-21 16:18:44 +01:00 committed by barillote
parent 206e217024
commit cd38d31a57

View File

@ -28,8 +28,8 @@ class UserApp implements UserInterface, PasswordAuthenticatedUserInterface
/**
* @var list<string> The user roles
*/
#[ORM\Column]
private array $roles = [];
#[ORM\Column(nullable: true)]
private ?array $roles = null;
/**
* @var string The hashed password