From 083b587493d1f46eda74688077966cb93cf7b9f5 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Sun, 1 Feb 2026 11:31:25 -0600 Subject: [PATCH] fix: remove fake auth check --- src/FiscalOS.API/Login/Endpoint.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/FiscalOS.API/Login/Endpoint.cs b/src/FiscalOS.API/Login/Endpoint.cs index d505407..42fc8f1 100644 --- a/src/FiscalOS.API/Login/Endpoint.cs +++ b/src/FiscalOS.API/Login/Endpoint.cs @@ -14,9 +14,6 @@ internal static class Endpoint [FromServices] AppDbContext appDbContext ) { - const string ADMIN_USERNAME = "Stevan"; - const string ADMIN_PASSWORD = "@Password1"; - // TODO: Implement actual auth flow // 1. We want to make sure that // the user exists @@ -40,11 +37,6 @@ internal static class Endpoint return Results.Unauthorized(); } - if (loginRequest.Username is not ADMIN_USERNAME || loginRequest.Password is not ADMIN_PASSWORD) - { - return Results.Unauthorized(); - } - return Results.Ok(); } } \ No newline at end of file