-
-
Save gdyrrahitis/d235ce0ec5f1a4ee3d1986f4bd74c059 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Route("logout")] | |
public async Task<IActionResult> Logout(string returnUrl) | |
{ | |
ViewBag.ReturnUrl = returnUrl; | |
if (!_configuration.GetValue<bool>("Account:ShowLogoutPrompt")) | |
{ | |
return await Logout(); | |
} | |
return View(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment