mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
20 lines
757 B
YAML
20 lines
757 B
YAML
|
# See the configuration reference at https://symfony.com/bundles/SchebTwoFactorBundle/5.x/configuration.html
|
||
|
scheb_two_factor:
|
||
|
|
||
|
google:
|
||
|
enabled: true
|
||
|
template: security/2fa_form.html.twig
|
||
|
|
||
|
backup_codes:
|
||
|
enabled: true
|
||
|
|
||
|
trusted_device:
|
||
|
enabled: true
|
||
|
|
||
|
security_tokens:
|
||
|
- Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken
|
||
|
# If you're using guard-based authentication, you have to use this one:
|
||
|
# - Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken
|
||
|
# If you're using authenticator-based security (introduced in Symfony 5.1), you have to use this one:
|
||
|
# - Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken
|