From aaa60866b5e94e884e6df9db276807c422dbcc56 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Sun, 16 Mar 2014 15:50:10 +0100 Subject: [PATCH] Password can be null --- lib/Alchemy/Phrasea/Model/Entities/User.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/Model/Entities/User.php b/lib/Alchemy/Phrasea/Model/Entities/User.php index de8eb87ed1..4c91f2ecc8 100644 --- a/lib/Alchemy/Phrasea/Model/Entities/User.php +++ b/lib/Alchemy/Phrasea/Model/Entities/User.php @@ -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;