add missing return in registerhandler
All checks were successful
Go / build (push) Successful in 12m35s

This commit is contained in:
2025-04-15 10:46:46 +02:00
parent c55cf4480b
commit 03f1ce361a

View File

@@ -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)