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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate more user informations on POST /auth/login #3723

Merged
merged 5 commits into from Aug 6, 2019

Conversation

Erim32
Copy link
Contributor

@Erim32 Erim32 commented Aug 3, 2019

Find user by email or identifier to get files and relations.
When user call /auth/login url, the "user" object must cointains entire user object (avatar picture, relations .... ) not default strapi data.

Related to this issue: #1980

My PR is a:

  • 馃挜 Breaking change
  • 馃悰 Bug fix
  • 馃拝 Enhancement
  • 馃殌 New feature

Main update on the:

  • Admin
  • Documentation
  • Framework
  • Plugin

Manual testing done on the following databases:

  • Not applicable
  • MongoDB
  • MySQL
  • Postgres
  • SQLite

Find user by email or identifier to get files and relations.
@alexandrebodin alexandrebodin self-assigned this Aug 5, 2019
@alexandrebodin alexandrebodin changed the title Fix /auth/login, user object was ignoring files and relations Populate more user informations on POST /auth/login Aug 6, 2019
@alexandrebodin alexandrebodin added pr: 馃拝 Enhancement source: core:content-manager Source is core/content-manager package labels Aug 6, 2019
@alexandrebodin alexandrebodin added this to the 3.0.0-beta.15 milestone Aug 6, 2019
Copy link
Member

@alexandrebodin alexandrebodin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexandrebodin alexandrebodin merged commit 0fdce92 into strapi:master Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: core:content-manager Source is core/content-manager package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants