mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Set default value for grantedPassword & activated properties
This commit is contained in:
@@ -109,14 +109,14 @@ class ApiApplication
|
|||||||
*
|
*
|
||||||
* @ORM\Column(type="boolean", nullable=false)
|
* @ORM\Column(type="boolean", nullable=false)
|
||||||
*/
|
*/
|
||||||
private $activated;
|
private $activated = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var integer
|
* @var integer
|
||||||
*
|
*
|
||||||
* @ORM\Column(name="grant_password", type="boolean", nullable=false)
|
* @ORM\Column(name="grant_password", type="boolean", nullable=false)
|
||||||
*/
|
*/
|
||||||
private $grantPassword;
|
private $grantPassword = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param boolean $activated
|
* @param boolean $activated
|
||||||
|
Reference in New Issue
Block a user