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

ChangeEmailAsync - not updating the username #21

Open
jmatheti opened this issue Mar 8, 2019 · 1 comment
Open

ChangeEmailAsync - not updating the username #21

jmatheti opened this issue Mar 8, 2019 · 1 comment

Comments

@jmatheti
Copy link

jmatheti commented Mar 8, 2019

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.

@DotNetDublin
Copy link

Hi,

Could be a completely different issue however I wonder if what worked for me might also help you, see #32

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

2 participants