Password can be null

This commit is contained in:
Nicolas Le Goff
2014-03-16 15:50:10 +01:00
parent 9e660d8b3f
commit aaa60866b5

View File

@@ -61,7 +61,9 @@ class User
private $email;
/**
* @ORM\Column(type="binary_string", length=128)
* The password can be null when the user is a template.
*
* @ORM\Column(type="binary_string", length=128, nullable=true)
*/
private $password;