From 727675dd46c0b24edd45e1aa710b6b49bb9be202 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 2 Jan 2017 12:33:15 +0800 Subject: [PATCH] fix config session missing data row & resolved #517 (#549) --- templates/admin/config.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index f06edbcb9543..94a2a2fcc59d 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"}}