contrib/znc-import: leave password empty by default

No need for the "!!" hack, an empty password field means that
auth is disabled already.
This commit is contained in:
Simon Ser 2023-11-01 00:02:07 +01:00
parent edaae4d06b
commit 1e5fac0e0a

View File

@ -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)
}