diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpoint.cs index 7c1d0e0d..69791601 100644 --- a/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpoint.cs +++ b/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpoint.cs @@ -42,7 +42,7 @@ public class GetApiAccessTokenEndpoint : BaseEndpoint return Task.FromResult(Results.Problem( statusCode: StatusCodes.Status401Unauthorized, title: "Unauthorized", - detail: "You are not authorized")); + detail: "Authentication failed")); string? token = User.FindFirst("Token")?.Value; if (string.IsNullOrEmpty(token))