add missing return in registerhandler
All checks were successful
Go / build (push) Successful in 12m35s
All checks were successful
Go / build (push) Successful in 12m35s
This commit is contained in:
@@ -188,6 +188,7 @@ func (rc *UserController) RegisterHandler(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
c.HTML(http.StatusOK, "register.html", data)
|
c.HTML(http.StatusOK, "register.html", data)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
tokenExists, err := repositories.Tokens.Exists(token)
|
tokenExists, err := repositories.Tokens.Exists(token)
|
||||||
|
|||||||
Reference in New Issue
Block a user