diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-22 09:21:57 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-22 09:21:57 -0400 |
commit | fd1831052c3a79492643b89512282fc66f34dd8d (patch) | |
tree | 2d1146e02a6c4efd6901ca9d966c085910bf6939 /templates/admin/config.tmpl | |
parent | f9c07c4186b61a1548d9a908fe6228bd130f4f92 (diff) | |
download | gitea-fd1831052c3a79492643b89512282fc66f34dd8d.tar.gz gitea-fd1831052c3a79492643b89512282fc66f34dd8d.zip |
Update session
Diffstat (limited to 'templates/admin/config.tmpl')
-rw-r--r-- | templates/admin/config.tmpl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index e3f69ee6ea..048740e617 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -79,6 +79,25 @@ <div class="panel panel-default"> <div class="panel-heading"> + Session Configuration + </div> + + <div class="panel-body"> + <div><b>Session Provider:</b> {{.SessionProvider}}</div> + <div><b>Cookie Name:</b> {{.SessionConfig.CookieName}}</div> + <div><b>Enable Set Cookie:</b> <i class="fa fa{{if .SessionConfig.EnableSetCookie}}-check{{end}}-square-o"></i></div> + <div><b>GC Interval Time:</b> {{.SessionConfig.GcIntervalTime}} seconds</div> + <div><b>Session Life Time:</b> {{.SessionConfig.SessionLifeTime}} seconds</div> + <div><b>HTTPS Only:</b> <i class="fa fa{{if .SessionConfig.CookieSecure}}-check{{end}}-square-o"></i></div> + <div><b>Cookie Life Time:</b> {{.SessionConfig.CookieLifeTime}} seconds</div> + <div><b>Session ID Hash Function:</b> {{.SessionConfig.SessionIDHashFunc}}</div> + <div><b>Session ID Hash Key:</b> {{.SessionConfig.SessionIDHashKey}}</div> + <div><b>Provider Config:</b> {{.SessionConfig.ProviderConfig}}</div> + </div> + </div> + + <div class="panel panel-default"> + <div class="panel-heading"> Picture Configuration </div> |