From e29ec479256fae9f8af90eff56890bdd88cf99ca Mon Sep 17 00:00:00 2001 From: Binary Alley Date: Mon, 14 Sep 2026 04:22:15 +0300 Subject: [PATCH] Aligns the unauthorized message of the access token endpoint --- .../GetApiAccessToken/GetApiAccessTokenEndpoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))