Login settings
This commit is contained in:
parent
164bd928aa
commit
1a0556695c
37 changed files with 504 additions and 190 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue