From 3d1781b60f57c3b18bc79e6fdee14b719255ead0 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Mon, 28 Aug 2017 19:59:11 +0200 Subject: [PATCH] First parameter to uniqid must be a string --- security/entity_provider.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/entity_provider.rst b/security/entity_provider.rst index 10db4ffa59d..51e2593bbd3 100644 --- a/security/entity_provider.rst +++ b/security/entity_provider.rst @@ -83,7 +83,7 @@ For this entry, suppose that you already have a ``User`` entity inside an { $this->isActive = true; // may not be needed, see section on salt below - // $this->salt = md5(uniqid(null, true)); + // $this->salt = md5(uniqid('', true)); } public function getUsername()