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?
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?