验证工作正常,但如果我更改帐户/注册
var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
至
var user = new ApplicationUser { UserName = model.UserName, Email = model.Email };
验证总是失败帐户/登录
var result = await SignInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, shouldLockout: false);
这是一个已知的错误还是我错过了什么