Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwitchIdentities not available for override #528

Open
Eseperio opened this issue Oct 29, 2023 · 0 comments
Open

SwitchIdentities not available for override #528

Eseperio opened this issue Oct 29, 2023 · 0 comments

Comments

@Eseperio
Copy link
Contributor

Is there any reason why SwitchIdentityServices is not defined in ClassMap?

Currently, if you want to override that service, you need to override adminController too, because bootstrap replaces any definition within yii2 container.

https://github.com/2amigos/yii2-usuario/blob/723ae81d11b8eb79a820d6037ba2c44d85392650/src/User/Bootstrap.php#L368C10-L368C18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant