Remove authentication Cookies from Backend
This commit is contained in:
@ -23,7 +23,6 @@ type Handler struct {
|
||||
|
||||
const (
|
||||
expiration = 72
|
||||
authCookie = "authentication"
|
||||
)
|
||||
|
||||
// Serve starts the HTTP Server
|
||||
@ -76,9 +75,6 @@ func (h *Handler) Serve() {
|
||||
authenticated.Use(h.verifyLoginWithForbidden)
|
||||
authenticated.GET("/dashboard", h.dashboard)
|
||||
|
||||
user := authenticated.Group("/user")
|
||||
user.GET("/logout", logout)
|
||||
|
||||
budget := authenticated.Group("/budget")
|
||||
budget.POST("/new", h.newBudget)
|
||||
|
||||
|
Reference in New Issue
Block a user