diff --git a/http/http.go b/http/http.go index f83768b..23cb8ad 100644 --- a/http/http.go +++ b/http/http.go @@ -73,7 +73,7 @@ func (h *Handler) Serve() { unauthenticated.POST("/register", h.registerPost) authenticated := api.Group("") - authenticated.Use(h.verifyLoginWithRedirect) + authenticated.Use(h.verifyLoginWithForbidden) authenticated.GET("/dashboard", h.dashboard) user := authenticated.Group("/user")