From 9891df2a16f2a5ef4a1b22f97c0fa08d3700b85c Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 24 Dec 2017 12:11:56 +0100 Subject: [PATCH] Fix: Typo Signed-off-by: Knut Ahlers --- login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login.go b/login.go index b51a138..0177780 100644 --- a/login.go +++ b/login.go @@ -17,7 +17,7 @@ import ( func loginHandler(res http.ResponseWriter, r *http.Request, session *sessions.Session, ctx *pongo2.Context) (*string, error) { var ( username = strings.ToLower(r.FormValue("username")) - password = r.FormValue("passsword") + password = r.FormValue("password") deprecatedPassword = fmt.Sprintf("%x", sha1.Sum([]byte(cfg.PasswordSalt+r.FormValue("password")))) // Here for backwards compatibility )