Fix installation

pull/3733/head
Julio Montoya 5 years ago
parent fb311176cb
commit ac9b9479f3
  1. 2
      src/CoreBundle/Entity/User.php

@ -750,7 +750,7 @@ class User implements UserInterface, EquatableInterface, ResourceInterface
public function __construct() public function __construct()
{ {
$this->uuid = Uuid::v4(); $this->uuid = Uuid::v4();
$this->apiToken = ''; $this->apiToken = null;
$this->status = self::STUDENT; $this->status = self::STUDENT;
$this->salt = sha1(uniqid(null, true)); $this->salt = sha1(uniqid(null, true));
$this->active = true; $this->active = true;

Loading…
Cancel
Save