From 7950f2d17d97c37fca22b88d48056de1c00b4d77 Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Thu, 27 Feb 2020 18:06:38 +0800 Subject: conf: overhaul auth and user settings (#5942) * conf: overhaul auth and user settings * ci: update travis Go versions --- internal/route/admin/admin.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/route/admin/admin.go') diff --git a/internal/route/admin/admin.go b/internal/route/admin/admin.go index 1722c373..a5217875 100644 --- a/internal/route/admin/admin.go +++ b/internal/route/admin/admin.go @@ -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 -- cgit v1.2.3