new: usr: implement the 2FA authentication (TOTP and backup codes) #4
This commit is contained in:
13
config/packages/scheb_2fa.yaml
Normal file
13
config/packages/scheb_2fa.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
scheb_two_factor:
|
||||
security_tokens:
|
||||
- Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken
|
||||
- Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken
|
||||
|
||||
totp:
|
||||
enabled: true
|
||||
issuer: "Mine Seeker"
|
||||
server_name: "Mine Seeker"
|
||||
template: "Security/2fa.html.twig"
|
||||
|
||||
backup_codes:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user