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

[SecurityBundle] Make enable_authenticator_manager true as there is no other way in Symfony 6#44554

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
wouterj merged 1 commit intosymfony:6.0fromalexander-schranz:patch-10
Dec 12, 2021

Conversation

@alexander-schranz
Copy link
Contributor

QA
Branch?6.0 for features / 4.4, 5.3, 5.4 or 6.0 for bug fixes
Bug fix?no
New feature?no
Deprecations?/no
TicketsFix #...
LicenseMIT
Doc PRsymfony/symfony-docs#...

Did read the new docs and I was confused about:

security:    enable_authenticator_manager: true

as I thought thats the default now and there is no other way. And that seems to case as if you set it to false it will error in:

if (!$config['enable_authenticator_manager']) {
thrownewInvalidConfigurationException('"security.enable_authenticator_manager" must be set to "true".');
}

So I would remove theenable_authenticator_manager also from the 6.0 docs and make this just the default to avod confusion here.

Copy link
Member

@wouterjwouterj left a comment

Choose a reason for hiding this comment

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

We're a bit stricter with what is considered a bugfix or a feature, and given there was no bug before (just an oddity) I think we should call this a feature and target 6.1.

That would also allow us to immediately deprecating setting this option (I think there is a build indeprecate() method for this). This also resolves the description question 🙂

What do you think?

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

(after the message is removed)

@nicolas-grekas
Copy link
Member

I missed your comment@wouterj :)
But since not setting/setting to false this option is deprecated in 5.3, I think this should have been part of the cleanup doe in 6.0.false yields an exception already in 6.0. Defaulting to something that throws looks odd to me.

wouterj, chalasr, and alexander-schranz reacted with thumbs up emoji

@wouterj
Copy link
Member

Alright, I'm OK with having this in 6.0😉

@wouterj
Copy link
Member

Thanks Alexander!

@wouterjwouterj merged commit348f252 intosymfony:6.0Dec 12, 2021
@alexander-schranzalexander-schranz deleted the patch-10 branchDecember 12, 2021 13:35
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull requestDec 13, 2021
…s (alexander-schranz)This PR was merged into the 6.0 branch.Discussion----------Remove "enable_authenticator_manager" from Symfony 6 docsSeesymfony/symfony#44554 to avoid confusion that there is something else.Commits-------df24637 Remove "enable_authenticator_manager" from Symfony 6 docs
@carsonbotcarsonbot changed the titleMake enable_authenticator_manager true as there is no other way in Symfony 6[SecurityBundle] Make enable_authenticator_manager true as there is no other way in Symfony 6Dec 13, 2021
@fabpotfabpot mentioned this pull requestDec 29, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@wouterjwouterjwouterj approved these changes

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

6.0

Development

Successfully merging this pull request may close these issues.

5 participants

@alexander-schranz@nicolas-grekas@wouterj@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp