Skip to content

[Security] More radically remove Testing/HTTP Authentication contents #13523

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

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Apr 11, 2020

Fixes part of #13376

We couldn't remove this article because it's a very important article in the docs. However, the contents no longer make sense in 5.1. I think it's better to remove the contents completely and link to older versions of this article instead.

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

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

I like this solution! Thanks.

wouterj added a commit that referenced this pull request Apr 16, 2020
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 applications
@wouterj wouterj force-pushed the issue-13376/security-functional-test branch from 3482392 to 28bb445 Compare April 16, 2020 17:02
@wouterj wouterj merged commit 89b6013 into symfony:master Apr 16, 2020
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