diff options
author | Xaver Maierhofer <xaver.maierhofer@xwissen.info> | 2019-05-14 18:02:59 +0200 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-05-14 12:02:59 -0400 |
commit | 95d3d42c5fd51bcc64774841edad158f6e5ef60f (patch) | |
tree | 965b52b5bcad59fe35a67128fd975ba25a94899c /templates/admin/config.tmpl | |
parent | e55c874dd2a6162a374a9fac46c55db57bd17c5f (diff) | |
download | gitea-95d3d42c5fd51bcc64774841edad158f6e5ef60f.tar.gz gitea-95d3d42c5fd51bcc64774841edad158f6e5ef60f.zip |
Fix code overflow (#6914)
Diffstat (limited to 'templates/admin/config.tmpl')
-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 b4fcb4d610..7a81eb2668 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -254,7 +254,7 @@ <dt>{{.i18n.Tr "admin.config.session_provider"}}</dt> <dd>{{.SessionConfig.Provider}}</dd> <dt>{{.i18n.Tr "admin.config.provider_config"}}</dt> - <dd><code>{{if .SessionConfig.ProviderConfig}}{{.SessionConfig.ProviderConfig}}{{else}}-{{end}}</code></dd> + <dd><pre>{{if .SessionConfig.ProviderConfig}}{{.SessionConfig.ProviderConfig | JsonPrettyPrint}}{{else}}-{{end}}</pre></dd> <dt>{{.i18n.Tr "admin.config.cookie_name"}}</dt> <dd>{{.SessionConfig.CookieName}}</dd> <dt>{{.i18n.Tr "admin.config.gc_interval_time"}}</dt> |