aboutsummaryrefslogtreecommitdiff
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-02 12:36:35 +0800
committerUnknwon <u@gogs.io>2015-08-02 12:36:35 +0800
commit9a4132cb09f9a8d0d745ad7e0091808cc28315fb (patch)
tree2af4e278cff34ba36c391eb57a8b000d631f13dd /routers/install.go
parent1490e862cc9883a8802c9a92da28312bd1663ac0 (diff)
better wording
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go
index f9b5aa10..3d3e8997 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -72,7 +72,7 @@ func GlobalInit() {
log.NewGitLogger(path.Join(setting.LogRootPath, "http.log"))
}
if models.EnableSQLite3 {
- log.Info("SQLite3 Enabled")
+ log.Info("SQLite3 Supported")
}
checkRunMode()
}
@@ -213,6 +213,7 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) {
// Check admin password.
if form.AdminPasswd != form.AdminConfirmPasswd {
+ ctx.Data["Err_Admin"] = true
ctx.Data["Err_AdminPasswd"] = true
ctx.RenderWithErr(ctx.Tr("form.password_not_match"), INSTALL, form)
return