Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[SecurityBundle] Deprecate the require_previous_session config option #51332

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

Conversation

alamirault
Copy link
Contributor

@alamirault alamirault commented Aug 9, 2023

Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? yes
Tickets Fix #51318
License MIT
Doc PR symfony/symfony-docs#...

This PR deprecate the require_previous_session config option

Remove is done in #51333 on 7.0

if ('require_previous_session' === $name) {
$builder
->booleanNode($name)
->setDeprecated('symfony/security-bundle', '6.4', 'Option "%node%" at "%path%" is deprecated. It does nothing and will be removed in version 7.0.')
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
->setDeprecated('symfony/security-bundle', '6.4', 'Option "%node%" at "%path%" is deprecated. It does nothing and will be removed in version 7.0.')
->setDeprecated('symfony/security-bundle', '6.4', 'Option "%node%" at "%path%" is deprecated it will be removed in version 7.0. Setting it has no effect anymore.')

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I took the same message than reset_on_message on 6.1

But indeed, your suggestion is better !

It's applied

@fabpot
Copy link
Member

fabpot commented Aug 11, 2023

Thank you @alamirault.

fabpot added a commit that referenced this pull request Aug 11, 2023
…on` config option (alamirault)

This PR was squashed before being merged into the 6.4 branch.

Discussion
----------

[SecurityBundle] Deprecate the `require_previous_session` config option

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #51318  <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

This PR deprecate the `require_previous_session` config option

Remove is done in #51333 on 7.0

Commits
-------

f92b0fc [SecurityBundle] Deprecate the `require_previous_session` config option
@fabpot fabpot closed this Aug 11, 2023
@fabpot fabpot force-pushed the feature/51318-deprecate-require-previous-session branch from c590d2d to f92b0fc Compare August 11, 2023 08:13
fabpot added a commit that referenced this pull request Aug 11, 2023
…onfig option (alamirault)

This PR was squashed before being merged into the 7.0 branch.

Discussion
----------

[SecurityBundle] Remove the `require_previous_session` config option

| Q             | A
| ------------- | ---
| Branch?       | 7.0
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

To merge after #51332 is merged on 6.4 which deprecate config option. This PR remove last usage of option

Commits
-------

6372df4 [SecurityBundle] Remove the `require_previous_session` config option
@alamirault alamirault deleted the feature/51318-deprecate-require-previous-session branch August 11, 2023 18:15
This was referenced Oct 21, 2023
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.

Deprecate require_previous_session firewall option
4 participants