aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 42377a3..bb47d27 100644
--- a/main.go
+++ b/main.go
@@ -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
}