Skip to content

Commit 5bb36ba

Browse files
dunglasscheb
authored andcommitted
recommend new controller syntax
1 parent 0a6efd3 commit 5bb36ba

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/installation.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ authentication.
8484
# config/routes/scheb_2fa.yaml
8585
2fa_login:
8686
path: /2fa
87-
defaults:
88-
# "scheb_two_factor.form_controller" references the controller service provided by the bundle.
89-
# You don't HAVE to use it, but - except you have very special requirements - it is recommended.
90-
_controller: "scheb_two_factor.form_controller::form"
87+
# "scheb_two_factor.form_controller" references the controller service provided by the bundle.
88+
# You don't HAVE to use it, but - except you have very special requirements - it is recommended.
89+
controller: "scheb_two_factor.form_controller::form"
9190
9291
2fa_login_check:
9392
path: /2fa_check

0 commit comments

Comments
 (0)