From 3b1a8e4bbacb47e46a8234432274e8b2805c8d94 Mon Sep 17 00:00:00 2001 From: Mohab Abd El-Dayem Date: Thu, 28 Nov 2019 22:23:18 +0200 Subject: [PATCH] feat(cli): remove the logging of the hashed password of the admin user (#3328) --- api/cmd/portainer/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/cmd/portainer/main.go b/api/cmd/portainer/main.go index 3bc1eb67d..d5ab7cd59 100644 --- a/api/cmd/portainer/main.go +++ b/api/cmd/portainer/main.go @@ -624,7 +624,7 @@ func main() { } if len(users) == 0 { - log.Printf("Creating admin user with password hash %s", adminPasswordHash) + log.Println("Created admin user with the given password.") user := &portainer.User{ Username: "admin", Role: portainer.AdministratorRole,