mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-09 14:40:05 +00:00
Fix: Typo
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
836006de64
commit
9891df2a16
1 changed files with 1 additions and 1 deletions
2
login.go
2
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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue