Rohan

Rohan

  • NA
  • 1.4k
  • 114.9k

After logout not redirect.

Dec 22 2021 7:08 AM

Hello every one Please let me know . I have use this fuction for logout 

private async Task<IActionResult> OnPostLogOut(string returnUrl = null)
        {
            await _signInManager.SignOutAsync();

            return null;
        }

It's working fine but I want to not redirect after logout user in login page. Means only clear cookies


Answers (2)