auth check removed from logout
This commit is contained in:
parent
96e6523d46
commit
a3151ed0b5
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ func (h *Handler) RegisterRoutes(r *gin.RouterGroup, authMW gin.HandlerFunc) {
|
||||||
authGroup := userGroup.Group("/auth")
|
authGroup := userGroup.Group("/auth")
|
||||||
|
|
||||||
authGroup.POST("/login", h.controller.login)
|
authGroup.POST("/login", h.controller.login)
|
||||||
authGroup.POST("/logout", authMW, h.controller.logout)
|
authGroup.POST("/logout", h.controller.logout)
|
||||||
authGroup.POST("/refresh", h.controller.refresh)
|
authGroup.POST("/refresh", h.controller.refresh)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue