From d40640a648edf4c005696ff8e7147c7158f63ccb Mon Sep 17 00:00:00 2001 From: Cam Zalewski Date: Wed, 20 May 2026 08:53:54 +0000 Subject: [PATCH] disabling register --- pkg/handlers/auth.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/handlers/auth.go b/pkg/handlers/auth.go index e249b10..88ee967 100644 --- a/pkg/handlers/auth.go +++ b/pkg/handlers/auth.go @@ -47,9 +47,9 @@ func (h *Auth) Routes(g *echo.Group) { noAuth := g.Group("/user", middleware.RequireNoAuthentication) noAuth.GET("/login", h.LoginPage).Name = routenames.Login - noAuth.POST("/login", h.LoginSubmit).Name = routenames.LoginSubmit - noAuth.GET("/register", h.RegisterPage).Name = routenames.Register - noAuth.POST("/register", h.RegisterSubmit).Name = routenames.RegisterSubmit +// noAuth.POST("/login", h.LoginSubmit).Name = routenames.LoginSubmit +// noAuth.GET("/register", h.RegisterPage).Name = routenames.Register +// noAuth.POST("/register", h.RegisterSubmit).Name = routenames.RegisterSubmit noAuth.GET("/password", h.ForgotPasswordPage).Name = routenames.ForgotPassword noAuth.POST("/password", h.ForgotPasswordSubmit).Name = routenames.ForgotPasswordSubmit