2021-03-24 19:10:26 +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:04:11 +02:00
|
|
|
template: "@Core/auth/2fa.html.twig"
|
2021-03-24 19:10:26 +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
|