Skip to content

Commit

Permalink
Added more classes to the Bootstrap.php classMap
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea.scaramucci committed Aug 27, 2024
1 parent 063af34 commit a3c5145
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- Fix: Social Network Auth (eluhr)
- 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)
- Ehh: Added UserBlockService to Bootstrap classMap
- Ehh: Added all the classes to the Bootstrap.php classMap
- Enh: Added option to disable viewing any other user's profile for non-admin users (TonisOrmisson)
- Ehn: updated Estonian (et) translation by (TonisOrmisson)
- Ehn: use recaptcha.net instead of google.com (Eseperio)
Expand Down
29 changes: 28 additions & 1 deletion src/User/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,27 +399,54 @@ protected function buildClassMap(array $userClassMap)
'Assignment',
'Permission',
'Role',
'SessionHistory'
'SessionHistory',
'AbstractAuthItem',
'Rule',
],
'Da\User\Search' => [
'UserSearch',
'PermissionSearch',
'RoleSearch',
'SessionHistorySearch',
'RuleSearch',
'AbstractAuthItemSearch',
],
'Da\User\Form' => [
'RegistrationForm',
'ResendForm',
'LoginForm',
'SettingsForm',
'RecoveryForm',
'GdprDeleteForm',
],
'Da\User\Service' => [
'AccountConfirmationService',
'AuthItemEditionService',
'AuthRuleEditionService',
'EmailChangeService',
'MailService',
'PasswordExpireService',
'PasswordRecoveryService',
'ResendConfirmationService',
'ResetPasswordService',
'SocialNetworkAccountConnectService',
'SocialNetworkAuthenticateService',
'SwitchIdentityService',
'TwoFactorEmailCodeGeneratorService',
'TwoFactorQrCodeUriGeneratorService',
'TwoFactorSmsCodeGeneratorService',
'UpdateAuthAssignmentsService',
'UserBlockService',
'UserConfirmationService',
'UserCreateService',
'UserRegisterService',
],
'Da\User\Helper' => [
'AuthHelper',
'ClassMapHelper',
'MigrationHelper',
'SecurityHelper',
'TimezoneHelper',
]
];

Expand Down

0 comments on commit a3c5145

Please sign in to comment.