aboutsummaryrefslogtreecommitdiffstats
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:37:29 +0800
commitcbb78b6a6331921403fb4cfcf45812efa89f6c3b (patch)
tree55bcb121601dc760c67d2335d4f8a8868c7989da /routers/install.go
parentd496d0cc4d4d07fc77a7961e178225062f080d72 (diff)
downloadgitea-cbb78b6a6331921403fb4cfcf45812efa89f6c3b.tar.gz
gitea-cbb78b6a6331921403fb4cfcf45812efa89f6c3b.zip
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 f9b5aa106c..3d3e899763 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