From ec34d6c774fc9333988c6ee8cf9f995b706ef20c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Holeczy?= Date: Wed, 7 Mar 2018 10:30:08 +0100 Subject: [PATCH] Update email field length in annotation I believe 60 characters for email is not enough, because maximum length of email is 254 chars. See https://stackoverflow.com/a/574698/3000493 --- security/entity_provider.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/entity_provider.rst b/security/entity_provider.rst index 3735efee309..9f678227175 100644 --- a/security/entity_provider.rst +++ b/security/entity_provider.rst @@ -67,7 +67,7 @@ with the following fields: ``id``, ``username``, ``password``, private $password; /** - * @ORM\Column(type="string", length=60, unique=true) + * @ORM\Column(type="string", length=254, unique=true) */ private $email;