Commit 72f4bbc
committed
minor #10467 Fix and improve JSON login docs (dunglas)
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 docs1 file changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
125 | 131 | | |
126 | 132 | | |
127 | 133 | | |
| |||
0 commit comments