mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-02 01:04:41 +02:00
Use jbtronics/2fa-webauthn for u2f two factor authentication
This commit is contained in:
parent
03aaff3c79
commit
068daeda75
18 changed files with 1389 additions and 604 deletions
|
@ -1,4 +0,0 @@
|
|||
ru2_f_two_factor:
|
||||
formTemplate: "/security/U2F/u2f_login.html.twig"
|
||||
registerTemplate: "/security/U2F/u2f_register.html.twig"
|
||||
authCodeParameter: _auth_code
|
|
@ -25,4 +25,4 @@ scheb_two_factor:
|
|||
# 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
|
||||
# - Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken
|
5
config/packages/webauthn_2fa.yaml
Normal file
5
config/packages/webauthn_2fa.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
tfa_webauthn:
|
||||
enabled: true
|
||||
template: 'Security/Webauthn/webauthn_login.html.twig'
|
||||
|
||||
rpName: '%partdb.title%'
|
Loading…
Add table
Add a link
Reference in a new issue