1
0
Fork 0
forked from forgejo/forgejo

Show correct SSL Mode on "install page" (#25818) (#25838)

Backport #25818 by @wxiaoguang

Fix #25817


![image](49f7b85d-c229-41b5-86fd-58cd812eaca6)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot 2023-07-12 02:01:38 -04:00 committed by GitHub
parent 052e65e63f
commit abe9c641ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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