🐛 fix(2FA): Two Factor Authentication - Filter - Blocks even when two factor authentication is enabled

🐛 fix(email): add error logging when email sending fails
🔒 chore(2FA): fix TwoFactorEmailValidator to pass user as an array
The TwoFactorAuthenticationEnforceFilter was blocking users even when two factor authentication was enabled. The filter now checks if the user has two factor authentication enabled before blocking them. The MailService now logs an error when email sending fails. The TwoFactorEmailValidator now passes the user as an array to the TwoFactorEmailCodeGeneratorService.
This commit is contained in:
Wenceslaus Dsilva
2023-05-25 21:01:42 +05:30
parent ba164c857f
commit 40a76b1eda
4 changed files with 12 additions and 3 deletions

View File

@ -2,6 +2,7 @@
## dev
- Fix: Two Factor Authentication - Filter - Blocks even when two factor authentication is enabled
- Fix: update Dutch (nl) translations (squio)
- Enh: possibility to limit the depth of the recursion when getting user ids from roles (mp1509)