diff --git a/main.go b/main.go index 66a30dd..f7c8aec 100644 --- a/main.go +++ b/main.go @@ -123,7 +123,7 @@ func main() { // Authenticate. if err := c.Auth(f.GetValue("field1"), f.GetValue("field2")); err != nil { - f.MakeInvalid("theoldpassword", "Invalid password") + f.MakeInvalid("field2", "Invalid password") d.Body = f.Render(true) tmpl.Execute(w, d) return