diff options
author | zeripath <art27@cantab.net> | 2018-12-18 17:05:48 +0000 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-12-18 12:05:48 -0500 |
commit | 2a660a1de17daf58b8f7d58dea4b82b107b47536 (patch) | |
tree | c25a824142ce6bfa0da191b7c711b7665807ae88 /routers/admin/admin.go | |
parent | fe55ab2a6806b6a7c114378c0436bc59a31646d0 (diff) | |
download | gitea-2a660a1de17daf58b8f7d58dea4b82b107b47536.tar.gz gitea-2a660a1de17daf58b8f7d58dea4b82b107b47536.zip |
Support reverse proxy providing email (#5554)
This PR implements #2347
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r-- | routers/admin/admin.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go index 9b18847d6c..7d98e1af36 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -215,6 +215,7 @@ func Config(ctx *context.Context) { ctx.Data["LogRootPath"] = setting.LogRootPath ctx.Data["ScriptType"] = setting.ScriptType ctx.Data["ReverseProxyAuthUser"] = setting.ReverseProxyAuthUser + ctx.Data["ReverseProxyAuthEmail"] = setting.ReverseProxyAuthEmail ctx.Data["SSH"] = setting.SSH |