mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-14 15:28:17 +02:00
update profile on join.
This commit is contained in:
parent
0f1f218694
commit
679157ef6d
5 changed files with 73 additions and 8 deletions
|
@ -46,6 +46,7 @@ func (api *ApiManagerCtx) Route(r types.Router) {
|
|||
|
||||
r.Post("/logout", api.Logout)
|
||||
r.Get("/whoami", api.Whoami)
|
||||
r.Post("/profile", api.UpdateProfile)
|
||||
|
||||
sessionsHandler := sessions.New(api.sessions)
|
||||
r.Route("/sessions", sessionsHandler.Route)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue