Disable register functionality
This commit is contained in:
@@ -11,7 +11,7 @@ func SetupRoutes(r *gin.Engine) {
|
||||
// Public routes
|
||||
auth := r.Group("/auth")
|
||||
{
|
||||
auth.POST("/register", handlers.Register)
|
||||
// auth.POST("/register", handlers.Register)
|
||||
auth.POST("/login", handlers.Login)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user