diff --git a/cmd/web/ui/routes.go b/cmd/web/ui/routes.go index 21243a6..ef036f7 100644 --- a/cmd/web/ui/routes.go +++ b/cmd/web/ui/routes.go @@ -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")}