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:
parent
797661ab9b
commit
68bfb1d220
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue