diff --git a/Entity/BigfootUser.php b/Entity/BigfootUser.php index 461cf55..28974c3 100644 --- a/Entity/BigfootUser.php +++ b/Entity/BigfootUser.php @@ -81,6 +81,7 @@ public function __toString() public function __construct() { + $this->salt = base64_encode(mcrypt_create_iv(24, MCRYPT_DEV_URANDOM)); $this->userRoles = new \Doctrine\Common\Collections\ArrayCollection(); }