Skip to content

Commit 02e1fa6

Browse files
committed
minor #9402 Update email field length in annotation (User class in security section) (Holicz)
This PR was submitted for the 4.0 branch but it was merged into the 2.7 branch instead (closes #9402). Discussion ---------- Update email field length in annotation (User class in security section) I believe 60 characters for email is not enough, because maximum length of email is 254 chars. See https://stackoverflow.com/a/574698/3000493 Commits ------- 8324c93 Update email field length in annotation
2 parents 4c95fda + 8324c93 commit 02e1fa6

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)