Skip to content

Fix and improve JSON login docs #10467

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

Closed
wants to merge 2 commits into from
Closed

Fix and improve JSON login docs #10467

wants to merge 2 commits into from

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Oct 10, 2018

Since symfony/symfony#22494, it's mandatory to return a valid response in the controller to prevent a 500 error.

I've updated the docs accordingly, and added an example of what can be returned.

This PR is similar to #9611 (that was right, sorry I just noticed).

ping @vincentchalamon

@javiereguiluz
Copy link
Member

Thanks Kévin!

javiereguiluz added a commit that referenced this pull request Oct 10, 2018
This PR was squashed before being merged into the 3.4 branch (closes #10467).

Discussion
----------

Fix and improve JSON login docs

Since symfony/symfony#22494, it's mandatory to return a valid response in the controller to prevent a 500 error.

I've updated the docs accordingly, and added an example of what can be returned.

This PR is similar to #9611 (that was right, sorry I just noticed).

ping @vincentchalamon

Commits
-------

570dce3 Fix and improve JSON login docs
@dunglas dunglas deleted the patch-26 branch November 1, 2018 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants