1
Fork 0

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

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