summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-03-24 19:15:36 -0400
committerUnknwon <u@gogs.io>2015-03-24 19:15:36 -0400
commit5f594d8774c520aaffd42c6d8e09a9c0d58e404f (patch)
treebcaba3ff4dfb6e4289443747a7e55241dd736d28 /routers/install.go
parent211596f407dbde1f755d0b309c7ecc707f116070 (diff)
downloadgitea-5f594d8774c520aaffd42c6d8e09a9c0d58e404f.tar.gz
gitea-5f594d8774c520aaffd42c6d8e09a9c0d58e404f.zip
#1140 MySQL root password exposure
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go
index 4aa3ca9306..f5dc0c580b 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -92,7 +92,6 @@ func Install(ctx *middleware.Context) {
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