Commit 89739faa authored by Mat's avatar Mat

empêcher l'affichage des user passwords dans les json de l'API

parent 84766175
...@@ -30,6 +30,12 @@ class User extends BaseUser ...@@ -30,6 +30,12 @@ class User extends BaseUser
*/ */
protected $username; protected $username;
/**
* @var string
* @Serializer\Exclude()
*/
protected $password;
/** /**
* @var string * @var string
* @Serializer\Groups({"readUtilisateurs"}) * @Serializer\Groups({"readUtilisateurs"})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment