Skip to content

[Form] Fixed a code example related to CSRF #15441

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
Jun 17, 2021

Conversation

javiereguiluz
Copy link
Member

Fixes #15410 but proposes the fix in 5.3 branch because that's where the deprecation was introduced:

https://github.com/symfony/security-csrf/blob/c7b7006d3ed955da978a002d764cae388bed8d09/TokenStorage/SessionTokenStorage.php#L47-L59

@wouterj
Copy link
Member

wouterj commented Jun 17, 2021

Thank you Javier! (I also removed the Session use statement)

@wouterj wouterj merged commit 6d5073d into symfony:5.3 Jun 17, 2021
@javiereguiluz javiereguiluz deleted the fix_15410 branch June 18, 2021 15:39
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