diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index f06edbcb9543b..94a2a2fcc59d1 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -194,7 +194,7 @@
{{.i18n.Tr "admin.config.session_provider"}}
{{.SessionConfig.Provider}}
{{.i18n.Tr "admin.config.provider_config"}}
-
{{.SessionConfig.ProviderConfig}}
+
{{if .SessionConfig.ProviderConfig}}{{.SessionConfig.ProviderConfig}}{{else}}-{{end}}
{{.i18n.Tr "admin.config.cookie_name"}}
{{.SessionConfig.CookieName}}
{{.i18n.Tr "admin.config.gc_interval_time"}}