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

This commit is contained in:
wxiaoguang authored and GitHub committed 2023-07-11 18:09:23 -04:00
1 parent 44572e9243
commit cee352bb38
2 files changed
+4 -3

No files matched your search

+1
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