deblan.io-murph/config/packages/scheb_2fa.yaml
Simon Vieille 40ed84dea3 init murph
Signed-off-by: Simon Vieille <simon@deblan.fr>
2021-03-24 19:10:26 +01:00

16 lines
731 B
YAML

# 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
template: auth/2fa.html.twig
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