(incomplete) change password feature
This commit is contained in:
parent
5531ef6bab
commit
0052c470f9
8 changed files with 76 additions and 25 deletions
|
@ -17,7 +17,7 @@ func Handler(app *model.AppState) http.Handler {
|
|||
mux.Handle("/login", LoginHandler(app))
|
||||
mux.Handle("/register", createAccountHandler(app))
|
||||
mux.Handle("/logout", RequireAccount(app, LogoutHandler(app)))
|
||||
mux.Handle("/account", RequireAccount(app, AccountHandler(app)))
|
||||
mux.Handle("/account/", RequireAccount(app, http.StripPrefix("/account", AccountHandler(app))))
|
||||
mux.Handle("/static/", http.StripPrefix("/static", staticHandler()))
|
||||
mux.Handle("/release/", RequireAccount(app, http.StripPrefix("/release", serveRelease(app))))
|
||||
mux.Handle("/artist/", RequireAccount(app, http.StripPrefix("/artist", serveArtist(app))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue