Login settings

This commit is contained in:
Paul Schneider 2026-06-10 16:59:23 +01:00
commit 1a0556695c
37 changed files with 504 additions and 190 deletions

View file

@ -666,7 +666,7 @@ IHtmlLocalizerFactory htmlLocalizerFactory,
await _signInManager.SignOutAsync();
HttpContext.Session.Clear();
_logger.LogInformation(4, "User logged out.");
if (returnUrl == null) return RedirectToAction(nameof(HomeController.Index), "Home");
if (returnUrl == null) return RedirectToAction(nameof(AccountController.Index), "Home");
return Redirect(returnUrl);
}