Remove required assert on roles for user entity

This commit is contained in:
Ramon Gutierrez 2018-01-12 03:13:28 +08:00
parent 5c381c48e0
commit 8c2f168ef2

View file

@ -39,7 +39,6 @@ class User implements AdvancedUserInterface, Serializable
/**
* @ORM\ManyToMany(targetEntity="Role", inversedBy="users")
* @ORM\JoinTable(name="user_role")
* @Assert\NotBlank()
*/
protected $roles;