AspNetIdentity
AspNetIdentity copied to clipboard
ChangeEmailAsync - not updating the username
ChangeEmailAsync is not updating the username though I have set the uniqueEmailAddress in the builder.
var builder = services.AddIdentity<ApplicationUser, ApplicationRole>(opt => { opt.User.RequireUniqueEmail = true; }
one of the issues have "IsUsernameEmailAddress" dynamic property added recently. I'm using 2.1 .net core. but could not see this.
Wondering do I need to use the above in this case? or Is it a bug?
Ex: Generate token GenerateChangeEmailTokenAsync then ChangeEmailAsync to see the behaviour.
Hi,
Could be a completely different issue however I wonder if what worked for me might also help you, see https://github.com/aspnet/AspNetIdentity/issues/32