diff --git a/go-backend/cmd/api/main.go b/go-backend/cmd/api/main.go index 54a2dc0..620c5e2 100644 --- a/go-backend/cmd/api/main.go +++ b/go-backend/cmd/api/main.go @@ -266,17 +266,8 @@ func main() { auth.GET("/verify", authHandler.VerifyEmail) auth.POST("/forgot-password", authHandler.ForgotPassword) auth.POST("/reset-password", authHandler.ResetPassword) - auth.GET("/altcha-challenge", authHandler.GetAltchaChallenge) } - // Test endpoint to verify routing - v1.GET("/test", func(c *gin.Context) { - c.JSON(200, gin.H{"message": "Route test successful"}) - }) - - // Admin ALTCHA challenge endpoint (no auth required) - v1.GET("/admin/altcha-challenge", adminHandler.GetAltchaChallenge) - authorized := v1.Group("") authorized.Use(middleware.AuthMiddleware(cfg.JWTSecret, dbPool)) {