File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ func Install(ctx *context.Context) {
102102 form .DbName = setting .Database .Name
103103 form .DbPath = setting .Database .Path
104104 form .DbSchema = setting .Database .Schema
105+ form .SSLMode = setting .Database .SSLMode
105106
106107 curDBType := setting .Database .Type .String ()
107108 var isCurDBTypeSupported bool
Original file line number Diff line number Diff line change 2828 </div>
2929 </div>
3030
31- <div class="gt-hidden" data-db-setting-for="common-host">
31+ <div class="gt-mt-4 gt- hidden" data-db-setting-for="common-host">
3232 <div class="inline required field {{if .Err_DbSetting}}error{{end}}">
3333 <label for="db_host">{{.locale.Tr "install.host"}}</label>
3434 <input id="db_host" name="db_host" value="{{.db_host}}">
4747 </div>
4848 </div>
4949
50- <div class="gt-hidden" data-db-setting-for="postgres">
50+ <div class="gt-mt-4 gt- hidden" data-db-setting-for="postgres">
5151 <div class="inline required field">
5252 <label>{{.locale.Tr "install.ssl_mode"}}</label>
5353 <div class="ui selection database type dropdown">
6868 </div>
6969 </div>
7070
71- <div class="gt-hidden" data-db-setting-for="sqlite3">
71+ <div class="gt-mt-4 gt- hidden" data-db-setting-for="sqlite3">
7272 <div class="inline required field {{if or .Err_DbPath .Err_DbSetting}}error{{end}}">
7373 <label for="db_path">{{.locale.Tr "install.path"}}</label>
7474 <input id="db_path" name="db_path" value="{{.db_path}}">
You can’t perform that action at this time.
0 commit comments