Skip to content

Fix test login example for 4.4 - 5.0 applications #13524

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

Merged
merged 1 commit into from
Apr 16, 2020

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Apr 11, 2020

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.

@wouterj wouterj merged commit bff0769 into symfony:4.4 Apr 16, 2020
@wouterj wouterj deleted the issue-13376/security-functional-test-1 branch April 16, 2020 17:01
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.

3 participants