fix: logout for all users to delete cookies

This commit is contained in:
2024-11-04 02:32:13 +03:00
parent 727f5c276e
commit 0dda336de1
2 changed files with 4 additions and 3 deletions

View File

@ -85,7 +85,6 @@ public class AuthController(IOptionsSnapshot<Admin> user, AuthService auth, Pass
public async Task<ActionResult> Logout()
{
await auth.LogoutAsync(GetCookieParams(), HttpContext);
return Ok();
}