dotnet / Scaffolding

Code generators to speed up development.
MIT License
639 stars 228 forks source link

User email not confirmed before saving on update. #941

Open LindaLawton opened 5 years ago

LindaLawton commented 5 years ago

This issue links to Asp.net core identity change username/email

Steps to reproduce:

Create new asp.net core web application (asp.net core 2.2, mvc). Add Identity scaffolding. In Areas/identity/pages/account/manage/Index.cshtml.cs

Expected behavior:

User changing email should require conformation of the email before actually saving the email.

Actual behavior:

  1. Email confirmation required for login
  2. User signs up + confirms email
  3. User changes email
  4. Change is saved without confirmation

In the event that the user had miss typed their email they will now be locked out of their account

seancpeters commented 5 years ago

@danroth27 @AngelosP

AngelosP commented 5 years ago

@danroth27 this is a request to change the behavior of code produced by Identity scaffolding.

danroth27 commented 5 years ago

Please work with @blowdart on this.

LindaLawton commented 5 years ago

You guys know this repo more than me. What if I gave it a go? It seems like a perfect small issue to get me started contributing. (up to you guys)

I just need a agreement on how you want it fixed.

seancpeters commented 5 years ago

@blowdart @danroth27 - this is related to a content change for identity scaffolding. Any change we would make here would want to have parity with out other identity offerings. Could you please work with @LindaLawton to determine what those content changes should be.