From 03f1ce361aaa32620d9d1ddfb97d3dd3c5ae15a3 Mon Sep 17 00:00:00 2001 From: kalipso Date: Tue, 15 Apr 2025 10:46:46 +0200 Subject: [PATCH] add missing return in registerhandler --- controllers/userController.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/userController.go b/controllers/userController.go index fc07462..b037982 100644 --- a/controllers/userController.go +++ b/controllers/userController.go @@ -188,6 +188,7 @@ func (rc *UserController) RegisterHandler(c *gin.Context) { } c.HTML(http.StatusOK, "register.html", data) + return } tokenExists, err := repositories.Tokens.Exists(token)