Add encoding to Totp Secret and Backup Codes

- Remove double call for backup codes
This commit is contained in:
Jack Anderson 2025-01-10 09:48:28 +00:00 committed by j.anderson
parent f829346938
commit bab7d9a202
7 changed files with 195 additions and 25 deletions

View file

@ -192,6 +192,14 @@ services:
security.listener.json_login_ldap.main: '@App\Security\Ldap\AppCheckLdapCredentialsListener'
App\Security\TwoFactor\EventListener\TotpEncryptionListener:
arguments:
- '@App\Security\TwoFactor\LegacyHandler\BlowfishCodeHandler'
tags:
- { name: doctrine.event_listener, event: prePersist, entity: App\Module\Users\Entity\User }
- { name: doctrine.event_listener, event: preUpdate, entity: App\Module\Users\Entity\User }
- { name: doctrine.event_listener, event: postLoad, entity: App\Module\Users\Entity\User }
App\Security\Ldap\AppCheckLdapCredentialsListener:
class: App\Security\Ldap\AppCheckLdapCredentialsListener
tags: