Skip to content

Commit

Permalink
forgot this returned an error
Browse files Browse the repository at this point in the history
  • Loading branch information
lillian committed Dec 26, 2023
1 parent 7c0d313 commit 8388763
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/web/ui/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ func registerPasswdRoutes(r chi.Router) {
})

r.Post("/passwd/", func(rw http.ResponseWriter, r *http.Request) {
r.ParseForm()
if err := r.ParseForm(); err != nil {
log.Println(err)
}

errReply := Passwd{Token: r.Form.Get("token")}

Expand Down

0 comments on commit 8388763

Please sign in to comment.