Skip to content

Commit 8324c93

Browse files
Holiczjaviereguiluz
authored andcommitted
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
1 parent 4c95fda commit 8324c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/entity_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ For this entry, suppose that you already have a ``User`` entity inside an
7070
private $password;
7171

7272
/**
73-
* @ORM\Column(type="string", length=60, unique=true)
73+
* @ORM\Column(type="string", length=254, unique=true)
7474
*/
7575
private $email;
7676

0 commit comments

Comments
 (0)