diff --git a/thehive/app/org/thp/thehive/models/User.scala b/thehive/app/org/thp/thehive/models/User.scala index 6e20df04b5..ab747b71aa 100644 --- a/thehive/app/org/thp/thehive/models/User.scala +++ b/thehive/app/org/thp/thehive/models/User.scala @@ -24,7 +24,7 @@ case class User(login: String, name: String, apikey: Option[String], locked: Boo } object User { - val initPassword: String = "secret" + val initPassword: String = sys.env.getOrElse("THEHIVE_INIT_PASSWORD", "secret") val init: User = User( login = "admin@thehive.local",