fix: remove authorize
This commit is contained in:
parent
713bbfa16f
commit
65d928ec2d
@ -80,8 +80,6 @@ public class AuthController(IOptionsSnapshot<Admin> user, AuthService auth, Pass
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>An Ok response if the logout was successful.</returns>
|
/// <returns>An Ok response if the logout was successful.</returns>
|
||||||
[HttpGet("Logout")]
|
[HttpGet("Logout")]
|
||||||
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
|
||||||
[Authorize]
|
|
||||||
public async Task<ActionResult> Logout()
|
public async Task<ActionResult> Logout()
|
||||||
{
|
{
|
||||||
await auth.LogoutAsync(GetCookieParams(), HttpContext);
|
await auth.LogoutAsync(GetCookieParams(), HttpContext);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user