Add user token renew (#113)
This commit is contained in:
parent
10ab8ef4d9
commit
62e550bf35
5 changed files with 134 additions and 22 deletions
|
|
@ -190,6 +190,7 @@ func registerAPIRoutes(a *echo.Group) {
|
|||
a.GET("/user", apiv1.UserShow)
|
||||
a.POST("/user/password", apiv1.UserChangePassword)
|
||||
a.GET("/users", apiv1.UserList)
|
||||
a.POST("/user/token", apiv1.RenewToken)
|
||||
|
||||
listHandler := &handler.WebHandler{
|
||||
EmptyStruct: func() handler.CObject {
|
||||
|
|
|
|||
Reference in a new issue