fix: remove fake auth check

This commit is contained in:
Stevan Freeborn
2026-02-03 04:38:40 -06:00
parent c037b895f0
commit 083b587493
-8
View File
@@ -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();
}
}