Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Security] Rename logout’scsrf_token_generator tocsrf_token_manager#17482

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@MatTheCat
Copy link
Contributor

@MatTheCatMatTheCat commentedNov 29, 2022
edited
Loading

Follow-up ofsymfony/symfony#48387

Should I still mention the deprecatedcsrf_token_generator in the documentation? If yes, how?

@carsonbotcarsonbot added this to the6.2 milestoneNov 29, 2022
@MatTheCatMatTheCat changed the base branch from6.2 to6.3November 29, 2022 16:08
fabpot added a commit to symfony/symfony that referenced this pull requestDec 22, 2022
…enerator` to `firewalls.logout.csrf_token_manager` (MatTheCat)This PR was merged into the 6.3 branch.Discussion----------[SecurityBundle] Rename `firewalls.logout.csrf_token_generator` to `firewalls.logout.csrf_token_manager`| Q             | A| ------------- | ---| Branch?       | 6.3| Bug fix?      | no| New feature?  | no| Deprecations? | yes| Tickets       | N/A| License       | MIT| Doc PR        |symfony/symfony-docs#17482A long time ago,#6554 replaced `CsrfProviderInterface` by `CsrfTokenGeneratorInterface`, and#9216 split the latter into `CsrfTokenManagerInterface` and `TokenGeneratorInterface`.#9587 later introduced `csrf_token_generator`, which was already wrong at the time.Given that token generators exist, it feels weird to have to set <code>csrf_token_**generator**</code> to <code>security.csrf.token_**manager**</code> as mentioned in [the documentation](https://symfony.com/doc/current/reference/configuration/security.html#csrf-token-generator).As this confusion recently led to#48339, I propose to rename `firewalls.logout.csrf_token_generator` to `firewalls.logout.csrf_token_manager`.Commits-------0a0a98a [SecurityBundle] Rename `firewalls.logout.csrf_token_generator` to `firewalls.logout.csrf_token_manager`
@MatTheCatMatTheCatforce-pushed thelogout-csrf-token-generator branch from3a0c762 to35e3567CompareJanuary 27, 2023 09:19
@xabbuhxabbuh modified the milestones:6.2,6.3Jan 29, 2023
@MatTheCatMatTheCatforce-pushed thelogout-csrf-token-generator branch from35e3567 to5a92ffdCompareJanuary 30, 2023 08:05
@OskarStarkOskarStarkforce-pushed thelogout-csrf-token-generator branch from5a92ffd toced6562CompareJanuary 30, 2023 08:45
@OskarStark
Copy link
Contributor

Thank you Mathieu.

@OskarStarkOskarStark merged commit86ec98c intosymfony:6.3Jan 30, 2023
@MatTheCatMatTheCat deleted the logout-csrf-token-generator branchJanuary 30, 2023 09:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark left review comments

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.3

Development

Successfully merging this pull request may close these issues.

4 participants

@MatTheCat@OskarStark@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp