murph-skeleton/config/packages/scheb_2fa.yaml

16 lines
739 B
YAML
Raw Normal View History

2021-03-24 12:27:07 +01:00
# See the configuration reference at https://github.com/scheb/2fa/blob/master/doc/configuration.md
scheb_two_factor:
google:
enabled: true
issuer: "Muprh"
server_name:
digits: 6
window: 1
2021-03-30 22:03:57 +02:00
template: "@Core/auth/2fa.html.twig"
2021-03-24 12:27:07 +01:00
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