diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-02 12:33:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-02 12:33:15 +0800 |
commit | 727675dd46c0b24edd45e1aa710b6b49bb9be202 (patch) | |
tree | fdc027d72d960176b6e38027533fd15dc33da03a /templates | |
parent | 05837a8d0f6dadf311f5e73178be4d6621d50484 (diff) | |
download | gitea-727675dd46c0b24edd45e1aa710b6b49bb9be202.tar.gz gitea-727675dd46c0b24edd45e1aa710b6b49bb9be202.zip |
fix config session missing data row & resolved #517 (#549)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/config.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index f06edbcb95..94a2a2fcc5 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -194,7 +194,7 @@ <dt>{{.i18n.Tr "admin.config.session_provider"}}</dt> <dd>{{.SessionConfig.Provider}}</dd> <dt>{{.i18n.Tr "admin.config.provider_config"}}</dt> - <dd><code>{{.SessionConfig.ProviderConfig}}</code></dd> + <dd><code>{{if .SessionConfig.ProviderConfig}}{{.SessionConfig.ProviderConfig}}{{else}}-{{end}}</code></dd> <dt>{{.i18n.Tr "admin.config.cookie_name"}}</dt> <dd>{{.SessionConfig.CookieName}}</dd> <dt>{{.i18n.Tr "admin.config.gc_interval_time"}}</dt> |