RedirectToAction starts new session
问题 I have a controller which logins in my user. Assuming its an existing user and the password is correct i check if they have 2fa enabled. AccountControler login method public async Task<IActionResult> Login(LoginViewModel model, string returnUrl = null) { ViewData["ReturnUrl"] = returnUrl; if (ModelState.IsValid) { // This doesn't count login failures towards account lockout // To enable password failures to trigger account lockout, set lockoutOnFailure: true var result = await _signInManager