Skip to content

Commit 3aac7c5

Browse files
Nyholmxabbuh
authored andcommitted
First parameter to uniqid must be a string
1 parent d63ec8e commit 3aac7c5

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
@@ -85,7 +85,7 @@ For this entry, suppose that you already have a ``User`` entity inside an
8585
{
8686
$this->isActive = true;
8787
// may not be needed, see section on salt below
88-
// $this->salt = md5(uniqid(null, true));
88+
// $this->salt = md5(uniqid('', true));
8989
}
9090
9191
public function getUsername()

0 commit comments

Comments
 (0)