0

I need to use email not username in login method here is my code

   var user = await _userManager.FindAsync(model.Email, model.Password);

It is always use username,Find and FindAsync using username not Email

How can i use email in login?

tmg
  • 19,895
  • 5
  • 72
  • 76
ZooHit
  • 1
  • 2

0 Answers0