This commit is contained in:
Your Name 2024-10-08 20:11:03 -04:00
parent 6a5669d9ba
commit 8dbed58d9c
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ func main() {
// Authenticate.
if err := c.Auth(f.GetValue("field1"), f.GetValue("field2")); err != nil {
log.Printf("Failed auth %s %s ", f.GetValue("field1"), f.GetValue("field2"))
f.MakeInvalid("field2", "Invalid password")
d.Body = f.Render(true)
tmpl.Execute(w, d)