Skip to content

Commit 3e0515e

Browse files
manindersinghweaverryan
authored andcommitted
When using pbkdf2 or bcrypt length 40 is not enough
I used this entity to apply bcrypt encoded password but I was not able to login. It took me 2 days to debug that the password is being truncated because column length is less than the password which is being generated by bcrypt or pbkdf2.
1 parent 4d70b70 commit 3e0515e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/entity_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ focus on the most important methods that come from the
8383
private $salt;
8484
8585
/**
86-
* @ORM\Column(type="string", length=40)
86+
* @ORM\Column(type="string", length=64)
8787
*/
8888
private $password;
8989

0 commit comments

Comments
 (0)