Merge pull request #555 from AndreScara11/add-security-helper-to-bootstrap-routes

Add SecurityHelper to Bootstrap.php classMap
This commit is contained in:
Lorenzo Milesi
2024-07-02 11:20:32 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,8 @@
## dev ## dev
- Enh: Changed exception thrown in PasswordRecoveryService from `RuntimeException` to `NotFoundException`. (eseperio) - Enh: Changed exception thrown in PasswordRecoveryService from `RuntimeException` to `NotFoundException`. (eseperio)
- Ehh: Added SecurityHelper to the Bootstrap classMap
## 1.6.3 Mar 18th, 2024 ## 1.6.3 Mar 18th, 2024
@ -10,7 +11,7 @@
- Enh: Keycloak auth client (e.luhr) - Enh: Keycloak auth client (e.luhr)
- Fix: Social Network Auth (eluhr) - Fix: Social Network Auth (eluhr)
- Enh #532: /user/registration/register now shows form validation errors - Enh #532: /user/registration/register now shows form validation errors
- Enh: Allow/suggest new v3 releases of 2amigos 2fa dependencies: 2fa-library, qrcode-library (TonisOrmisson) - Enh: Allow/suggest new v3 releases of 2amigos 2fa dependencies: 2fa-library, qrcode-library (TonisOrmisson)
- Enh: Added option to disable viewing any other user's profile for non-admin users (TonisOrmisson) - Enh: Added option to disable viewing any other user's profile for non-admin users (TonisOrmisson)
- Ehn: updated Estonian (et) translation by (TonisOrmisson) - Ehn: updated Estonian (et) translation by (TonisOrmisson)
- Ehn: use recaptcha.net instead of google.com (Eseperio) - Ehn: use recaptcha.net instead of google.com (Eseperio)

View File

@ -417,6 +417,9 @@ class Bootstrap implements BootstrapInterface
'Da\User\Service' => [ 'Da\User\Service' => [
'MailService', 'MailService',
], ],
'Da\User\Helper' => [
'SecurityHelper',
]
]; ];
$mapping = array_merge($defaults, $userClassMap); $mapping = array_merge($defaults, $userClassMap);