Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mathieu
potage
Commits
89739faa
Commit
89739faa
authored
Sep 02, 2018
by
Mat
Browse files
empêcher l'affichage des user passwords dans les json de l'API
parent
84766175
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PotageBundle/Entity/User.php
View file @
89739faa
...
...
@@ -30,6 +30,12 @@ class User extends BaseUser
*/
protected
$username
;
/**
* @var string
* @Serializer\Exclude()
*/
protected
$password
;
/**
* @var string
* @Serializer\Groups({"readUtilisateurs"})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment