conf: overhaul auth and user settings (#5942)

* conf: overhaul auth and user settings

* ci: update travis Go versions
This commit is contained in:
ᴜɴᴋɴᴡᴏɴ
2020-02-27 18:06:38 +08:00
committed by GitHub
parent cf3d55fa10
commit 7950f2d17d
27 changed files with 242 additions and 200 deletions

View File

@@ -203,12 +203,13 @@ func Config(c *context.Context) {
c.Data["Database"] = conf.Database
c.Data["Security"] = conf.Security
c.Data["Email"] = conf.Email
c.Data["Auth"] = conf.Auth
c.Data["User"] = conf.User
c.Data["LogRootPath"] = conf.LogRootPath
c.Data["HTTP"] = conf.HTTP
c.Data["Service"] = conf.Service
c.Data["Webhook"] = conf.Webhook
c.Data["CacheAdapter"] = conf.CacheAdapter