-
This commit is contained in:
@ -185,7 +185,8 @@ func setupRouter(cfg config.ConfigProvider, logger *zap.Logger, healthHandler *h
|
||||
api := router.Group("/api")
|
||||
{
|
||||
// Authentication endpoints (no prior auth required)
|
||||
api.POST("/login", authHandler.Login)
|
||||
api.GET("/login", authHandler.Login) // HTML page for browser access
|
||||
api.POST("/login", authHandler.Login) // JSON API for programmatic access
|
||||
api.POST("/verify", authHandler.Verify)
|
||||
api.POST("/renew", authHandler.Renew)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user