diff --git a/security/guard_authentication.rst b/security/guard_authentication.rst index 205c52b286e..77e948aaabd 100644 --- a/security/guard_authentication.rst +++ b/security/guard_authentication.rst @@ -38,7 +38,7 @@ directly to your ``User`` class (the ``make:entity`` command is a good way to do // ... + /** - + * @ORM\Column(type="string", unique=true) + + * @ORM\Column(type="string", unique=true, nullable=true) + */ + private $apiToken;