Release v1.0.0 #16

Merged
Wesser merged 492 commits from release/v1.0.0 into master 2025-02-12 09:19:32 +03:00
258 changed files with 13045 additions and 98 deletions
Showing only changes of commit 65d928ec2d - Show all commits

View File

@ -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);