new: usr: implement the 2FA authentication (TOTP and backup codes) #4
This commit is contained in:
11
config/routes/scheb_2fa.yaml
Normal file
11
config/routes/scheb_2fa.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
2fa_login:
|
||||
path: /2fa
|
||||
defaults:
|
||||
_controller: "scheb_two_factor.form_controller::form"
|
||||
requirements:
|
||||
_method: GET
|
||||
|
||||
2fa_login_check:
|
||||
path: /2fa_check
|
||||
requirements:
|
||||
_method: POST
|
||||
Reference in New Issue
Block a user