From 1e5fac0e0aa10bfcbcb366e8cce369d61e080262 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 1 Nov 2023 00:02:07 +0100 Subject: [PATCH] contrib/znc-import: leave password empty by default No need for the "!!" hack, an empty password field means that auth is disabled already. --- contrib/znc-import/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/contrib/znc-import/main.go b/contrib/znc-import/main.go index d155a34..3f6be45 100644 --- a/contrib/znc-import/main.go +++ b/contrib/znc-import/main.go @@ -107,8 +107,6 @@ func main() { log.Printf("user %q: updating existing user", username) } else { u = database.NewUser(username) - // "!!" is an invalid crypt format, thus disables password auth - u.Password = "!!" usersCreated++ log.Printf("user %q: creating new user", username) }