diff options
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -328,7 +328,7 @@ func login(w http.ResponseWriter, r *http.Request) { pass := r.FormValue("pass") user, err := CheckUserPass(db, User{-1, u, "", pass, false}) if err != nil { - sendFlash(w, r, "error", err.Error()) + sendFlash(w, r, "error", fmt.Sprintf("Incorrect login credentials")) http.Redirect(w, r, "/login", http.StatusSeeOther) return } |
