summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authortarelda <lukasz@jarosz.in>2018-07-04 02:09:55 +0200
committertechknowlogick <techknowlogick@users.noreply.github.com>2018-07-03 20:09:55 -0400
commit5676f60cbacc6728f26e7db2eff47ed48ae4074b (patch)
tree270188e54a42b106a8344d6a0e6b272a8d7dc4c6 /routers/install.go
parent3fed13b0eea5dcdce9692ae6e5426e1dff3e62ae (diff)
downloadgitea-5676f60cbacc6728f26e7db2eff47ed48ae4074b.tar.gz
gitea-5676f60cbacc6728f26e7db2eff47ed48ae4074b.zip
Keep preseeded database password (#4284)
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go1
1 files changed, 1 insertions, 0 deletions
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