mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 00:00:07 +01:00
conf: overhaul sessions settings (#5952)
This commit is contained in:
@@ -205,6 +205,7 @@ func Config(c *context.Context) {
|
||||
c.Data["Email"] = conf.Email
|
||||
c.Data["Auth"] = conf.Auth
|
||||
c.Data["User"] = conf.User
|
||||
c.Data["Session"] = conf.Session
|
||||
|
||||
c.Data["LogRootPath"] = conf.LogRootPath
|
||||
|
||||
@@ -216,8 +217,6 @@ func Config(c *context.Context) {
|
||||
c.Data["CacheInterval"] = conf.CacheInterval
|
||||
c.Data["CacheConn"] = conf.CacheConn
|
||||
|
||||
c.Data["SessionConfig"] = conf.SessionConfig
|
||||
|
||||
c.Data["DisableGravatar"] = conf.DisableGravatar
|
||||
c.Data["EnableFederatedAvatar"] = conf.EnableFederatedAvatar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user