Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API : Do not display all informations about user #1698

Closed
tcitworld opened this issue Feb 18, 2016 · 0 comments
Closed

API : Do not display all informations about user #1698

tcitworld opened this issue Feb 18, 2016 · 0 comments
Milestone

Comments

@tcitworld
Copy link
Member

When I get an entry, I also get all these informations about the user :

"user": {
    "credentials_expired": false,
    "email": "",
    "email_canonical": "",
    "enabled": true,
    "expired": false,
    "groups": [],
    "id": 1,
    "locked": false,
    "password": "hrW/5/AdHOIQJfBS73zAIa+pYEspY+SHrvd3rFUtR91M0RcXuQd/ZW4xy4Bohb4ehR/MCrzXIX2OEa95kFsmWg==",
    "roles": [
            "ROLE_USER",
            "ROLE_SUPER_ADMIN"
    ],
    "salt": "l2gozpvrvw0ooo048ogsgckowg04488",
    "username": "wallabag",
    "username_canonical": "wallabag"

I guess we should only keep email, enabled, expired, id and username.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants