Commit bff0769
committed
bug #13524 Fix test login example for 4.4 - 5.0 applications (wouterj)
This PR was merged into the 4.4 branch.
Discussion
----------
Fix test login example for 4.4 - 5.0 applications
Fixes part of #13376
Since Symfony 4.4, user equality is checked on each request thus the current method (with a non-existent user) is broken. I've updated the example to use something similar to the new `loginUser()` method in Symfony 5.1.
This fixes the docs for 4.4 and 5.0. See #13523 for improvements of this chapter in 5.1.
Commits
-------
fb8123a Fix test login example for 4.4 - 5.0 applications1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
123 | | - | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| |||
0 commit comments