diff --git a/README.md b/README.md index 45e700a4..c171d0f7 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ Core features are provided by `scheb/2fa-bundle`: - CSRF protection - Whitelisted routes (accessible during two-factor authentication) - Fully customizable conditions when to perform two-factor authentication -- Future proof: Supports the [authenticator-based security system](https://symfony.com/doc/current/security/experimental_authenticators.html), - which will replace the current system in Symfony 6 +- Supports the new [authenticator-based security system](https://symfony.com/doc/current/security.html), + introduced in Symfony 6, as well as the legacy system. Additional features: diff --git a/doc/installation.rst b/doc/installation.rst index f458e33d..60afe804 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -84,10 +84,9 @@ authentication. # config/routes/scheb_2fa.yaml 2fa_login: path: /2fa - defaults: - # "scheb_two_factor.form_controller" references the controller service provided by the bundle. - # You don't HAVE to use it, but - except you have very special requirements - it is recommended. - _controller: "scheb_two_factor.form_controller::form" + # "scheb_two_factor.form_controller" references the controller service provided by the bundle. + # You don't HAVE to use it, but - except you have very special requirements - it is recommended. + controller: "scheb_two_factor.form_controller::form" 2fa_login_check: path: /2fa_check