File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 6
6
7
7
return static function (RoutingConfigurator $ routingConfigurator ): void {
8
8
$ routingConfigurator ->add ('2fa_login ' , '/2fa ' )
9
- ->defaults ([
10
- '_controller ' => 'scheb_two_factor.form_controller::form ' ,
11
- ]);
9
+ ->controller (['scheb_two_factor.form_controller ' , 'form ' ]);
12
10
13
11
$ routingConfigurator ->add ('2fa_login_check ' , '/2fa_check ' );
14
12
};
Original file line number Diff line number Diff line change 6
6
7
7
return static function (RoutingConfigurator $ routingConfigurator ): void {
8
8
$ routingConfigurator ->add ('2fa_login ' , '/2fa ' )
9
- ->defaults ([
10
- '_controller ' => 'scheb_two_factor.form_controller::form ' ,
11
- ]);
9
+ ->controller (['scheb_two_factor.form_controller ' , 'form ' ]);
12
10
13
11
$ routingConfigurator ->add ('2fa_login_check ' , '/2fa_check ' );
14
12
};
You can’t perform that action at this time.
0 commit comments