hi
The SQL script doesn't reproduce the problem.
Can you try to add your test organizations by code?
Thanks.
hi
Can you share some code to seed organzation data? Then reproduce it?
Thanks.
hi
I will check and fix this.
Thanks.
hi
The SetPassword of the Saas module will send a distributed message, and the Identity module will handle the message and then try to change the password.
You can override the SetPasswordAsync of TenantAppService to change the logic.
ASP.NET Core Identity will not check if the password is the same when changing it.
You can add a custom IPasswordValidator to implement this feature.
https://andrewlock.net/creating-custom-password-validators-for-asp-net-core-identity-2/
Thanks.
hi
Have you selected the Force password change when updating the username?
If you do not select it, and you want to force the user to change their password after their username has changed.
You can override the UpdateUserByInput method of IdentityUserAppService to call user.SetShouldChangePasswordOnNextLogin(true); if the username has changed.
Thanks
hi
What is your project abp package version?
Can you test the same case in a new and latest project?
Can you set a breakpoint to your IDistributedEventHandler<TenantCreatedEto> handler in your project?
Check the parameters of MigrateAndSeedForTenantAsync to see adminEmail
Thanks.
hi
https://github.com/abpframework/abp/pull/23561