diff options
author | Giteabot <teabot@gitea.io> | 2023-07-12 02:01:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 02:01:38 -0400 |
commit | abe9c641ce6e6fd1c815c61105daead2c6676324 (patch) | |
tree | 823472e5cd7832f3aa7d616902123e8675d424c4 /routers/install | |
parent | 052e65e63f6c3af517c89edff40a97b33c9a29e1 (diff) | |
download | gitea-abe9c641ce6e6fd1c815c61105daead2c6676324.tar.gz gitea-abe9c641ce6e6fd1c815c61105daead2c6676324.zip |
Show correct SSL Mode on "install page" (#25818) (#25838)
Backport #25818 by @wxiaoguang
Fix #25817
![image](https://github.com/go-gitea/gitea/assets/2114189/49f7b85d-c229-41b5-86fd-58cd812eaca6)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'routers/install')
-rw-r--r-- | routers/install/install.go | 1 |
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 |