-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
EmailConfirmed and PhoneNumberConfirmed are set to false after updating a user #2140
Comments
@maliming can you test this and fix if there is a bug please? |
This is actually the design of the Identity. |
What if dont set the un-changed Email/PhoneNumber value for keeping their confirmed status? abp/modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityUserAppService.cs Line 130 in 79cc798
|
You can override the related methods. I will take the time to figure out the design logic of identity. |
Well, maybe we should not call the SetEmailAsync method if the email has not changed. |
When updating a user with identity-management, if user's
EmailConfirmed
andPhoneNumberConfirmed
dont change, should them keep original value?abp/modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityUserAppService.cs
Line 128 in 79cc798
The text was updated successfully, but these errors were encountered: