From 65d928ec2dda6f26046614e35ee67410e98b97bc Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Mon, 4 Nov 2024 02:36:22 +0300 Subject: [PATCH] fix: remove authorize --- Endpoint/Controllers/V1/AuthController.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Endpoint/Controllers/V1/AuthController.cs b/Endpoint/Controllers/V1/AuthController.cs index 25961ed..1b969db 100644 --- a/Endpoint/Controllers/V1/AuthController.cs +++ b/Endpoint/Controllers/V1/AuthController.cs @@ -80,8 +80,6 @@ public class AuthController(IOptionsSnapshot user, AuthService auth, Pass /// /// An Ok response if the logout was successful. [HttpGet("Logout")] - [ProducesResponseType(StatusCodes.Status401Unauthorized)] - [Authorize] public async Task Logout() { await auth.LogoutAsync(GetCookieParams(), HttpContext);