From 5676f60cbacc6728f26e7db2eff47ed48ae4074b Mon Sep 17 00:00:00 2001
From: tarelda <lukasz@jarosz.in>
Date: Wed, 4 Jul 2018 02:09:55 +0200
Subject: [PATCH] Keep preseeded database password (#4284)

---
 routers/install.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/routers/install.go b/routers/install.go
index 84e506c70b..c7c9fed28a 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -58,6 +58,7 @@ func Install(ctx *context.Context) {
 	// Database settings
 	form.DbHost = models.DbCfg.Host
 	form.DbUser = models.DbCfg.User
+	form.DbPasswd = models.DbCfg.Passwd
 	form.DbName = models.DbCfg.Name
 	form.DbPath = models.DbCfg.Path