From 3be75b97800ab8b549041a517e26ecc7ae1c325e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Cluseau?= Date: Sun, 17 Dec 2023 17:09:34 +0100 Subject: [PATCH] fix setUserPass --- bootstrap.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap.go b/bootstrap.go index 7131bdf..b4ad15e 100644 --- a/bootstrap.go +++ b/bootstrap.go @@ -133,6 +133,7 @@ func setUserPass(user, passwordHash string) { p := strings.Split(line, ":") if len(p) < 2 || p[0] != user { buf.WriteString(line) + buf.WriteByte('\n') continue }