Skip to content

Commit 9859277

Browse files
committed
minor #8312 First parameter to uniqid must be a string (Nyholm)
This PR was submitted for the 3.3 branch but it was merged into the 2.7 branch instead (closes #8312). Discussion ---------- First parameter to uniqid must be a string Commits ------- 3aac7c5 First parameter to uniqid must be a string
2 parents d63ec8e + 3aac7c5 commit 9859277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/entity_provider.rst

+1-1
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)