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

This commit is contained in:
2023-07-12 06:09:23 +08:00
committed by GitHub
parent 44572e9243
commit cee352bb38
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