From 807c64800cba8ac8b8d89652b0fc6e374c8dd5ce Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 5 Jan 2017 08:49:49 +0800 Subject: [PATCH] fix config session missing data row & resolved #517 (#578) --- 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 f06edbcb9..94a2a2fcc 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"}}