set uuid and refresh token path

This commit is contained in:
2020-07-21 11:08:01 +02:00
parent 8163b9cc07
commit 8a8d06cb7c
7 changed files with 280 additions and 97 deletions

View File

@ -23,6 +23,7 @@ func InitializeRouter() chi.Router {
// Middleware routes
r.Post("/user/new", jwtmiddleware.CreateAccount)
r.Post("/user/login", jwtmiddleware.Authenticate)
r.Post("/user/refresh", jwtmiddleware.Refresh)
})