new endpoints, budget adjustment

This commit is contained in:
Gabe Farrell 2023-04-11 22:41:39 -04:00
parent cc36b80e72
commit c4047a36cc
9 changed files with 276 additions and 20 deletions

View file

@ -41,6 +41,9 @@ func main() {
r.Post("/auth/login", routes.Login)
r.Post("/auth/login/session", routes.Login)
r.Post("/auth/createaccount", routes.CreateAccount)
r.Post("/auth/changepassword", routes.ChangePassword)
r.Post("/auth/changename", routes.ChangeName)
r.Post("/auth/deleteaccount", routes.DeleteAccount)
r.Get("/userinfo", routes.UserInfo)
r.Mount("/w", widgets.Router())