aboutsummaryrefslogtreecommitdiffstats
path: root/routers/install
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-07-12 06:09:23 +0800
committerGitHub <noreply@github.com>2023-07-11 18:09:23 -0400
commitcee352bb38517a361cd6513a05dfe18e6a453e90 (patch)
tree338143117b825cdb6760e9a4752f535a5e046a2a /routers/install
parent44572e924347420d3e11823b93921e01a5529959 (diff)
downloadgitea-cee352bb38517a361cd6513a05dfe18e6a453e90.tar.gz
gitea-cee352bb38517a361cd6513a05dfe18e6a453e90.zip
Show correct SSL Mode on "install page" (#25818)
Diffstat (limited to 'routers/install')
-rw-r--r--routers/install/install.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/install/install.go b/routers/install/install.go
index a2e89d3dac..6a8f561271 100644
--- a/routers/install/install.go
+++ b/routers/install/install.go
@@ -102,6 +102,7 @@ func Install(ctx *context.Context) {
form.DbName = setting.Database.Name
form.DbPath = setting.Database.Path
form.DbSchema = setting.Database.Schema
+ form.SSLMode = setting.Database.SSLMode
curDBType := setting.Database.Type.String()
var isCurDBTypeSupported bool