Skip to content
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

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

Open
wants to merge 1 commit into
base: 6.0
Choose a base branch
from

Conversation

@alexander-schranz
Copy link
Contributor

@alexander-schranz alexander-schranz commented Dec 10, 2021

Q A
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
Tickets Fix #...
License MIT
Doc PR symfony/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']) {
throw new InvalidConfigurationException('"security.enable_authenticator_manager" must be set to "true".');
}

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

@@ -65,7 +65,7 @@ public function getConfigTreeBuilder(): TreeBuilder
->end()
->booleanNode('hide_user_not_found')->defaultTrue()->end()
->booleanNode('erase_credentials')->defaultTrue()->end()
->booleanNode('enable_authenticator_manager')->defaultFalse()->info('Enables the new Symfony Security system based on Authenticators, all used authenticators must support this before enabling this.')->end()
->booleanNode('enable_authenticator_manager')->defaultTrue()->info('Enables the new Symfony Security system based on Authenticators, all used authenticators must support this before enabling this.')->end()
Copy link
Contributor Author

@alexander-schranz alexander-schranz Dec 10, 2021

Choose a reason for hiding this comment

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

to what should we change the text as this is not longer true in symfony 6 as no other authenticators and authenticator systems exists.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants