Remove required assert on roles for user entity
This commit is contained in:
parent
5c381c48e0
commit
8c2f168ef2
1 changed files with 0 additions and 1 deletions
|
|
@ -39,7 +39,6 @@ class User implements AdvancedUserInterface, Serializable
|
||||||
/**
|
/**
|
||||||
* @ORM\ManyToMany(targetEntity="Role", inversedBy="users")
|
* @ORM\ManyToMany(targetEntity="Role", inversedBy="users")
|
||||||
* @ORM\JoinTable(name="user_role")
|
* @ORM\JoinTable(name="user_role")
|
||||||
* @Assert\NotBlank()
|
|
||||||
*/
|
*/
|
||||||
protected $roles;
|
protected $roles;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue