mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Add encoding to Totp Secret and Backup Codes
- Remove double call for backup codes
This commit is contained in:
parent
f829346938
commit
bab7d9a202
7 changed files with 195 additions and 25 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue