diff --git a/AutoStack.Presentation/Endpoints/User/UserEndpoints.cs b/AutoStack.Presentation/Endpoints/User/UserEndpoints.cs index 1d6c2a7..7e84d48 100644 --- a/AutoStack.Presentation/Endpoints/User/UserEndpoints.cs +++ b/AutoStack.Presentation/Endpoints/User/UserEndpoints.cs @@ -40,8 +40,7 @@ public static void MapUserEndpoints(this IEndpointRouteBuilder app) group.MapDelete("/deleteaccount", DeleteAccount) .WithName("DeleteAccount") - .WithSummary("Delete account") - .RequireAuthorization("EmailVerified"); + .WithSummary("Delete account"); } private static async Task GetCurrentUser(