1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

feat(cli): remove the logging of the hashed password of the admin user (#3328)

This commit is contained in:
Mohab Abd El-Dayem 2019-11-28 22:23:18 +02:00 committed by Anthony Lapenna
parent dd0c80e915
commit 3b1a8e4bba

View file

@ -624,7 +624,7 @@ func main() {
} }
if len(users) == 0 { 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{ user := &portainer.User{
Username: "admin", Username: "admin",
Role: portainer.AdministratorRole, Role: portainer.AdministratorRole,