fix: remove duplicate ALTCHA routes causing conflicts

- Remove duplicate ALTCHA routes outside v1 group
- Keep only the routes inside the v1 group where they belong
- This should resolve the route registration issue
This commit is contained in:
Patrick Britton 2026-02-16 23:00:11 -06:00
parent 797661ab9b
commit 68bfb1d220

View file

@ -518,9 +518,6 @@ func main() {
} }
} }
// Admin ALTCHA challenge endpoint (no auth required)
r.GET("/api/v1/admin/altcha-challenge", adminHandler.GetAltchaChallenge)
// Admin login (no auth middleware - this IS the auth step) // Admin login (no auth middleware - this IS the auth step)
r.POST("/api/v1/admin/login", adminHandler.AdminLogin) r.POST("/api/v1/admin/login", adminHandler.AdminLogin)