fix: remove fake auth check

This commit is contained in:
Stevan Freeborn
2026-02-01 11:31:25 -06:00
parent 872eb3e95d
commit bf7b1b3fc8
-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();
}
}