1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-11-29 22:48:19 +02:00

Add option for custom logos on the sign in page

This commit is contained in:
Joel Speed
2021-02-18 19:13:27 +00:00
committed by Joel Speed
parent ad2d7b1ae7
commit 23e545a639
10 changed files with 220 additions and 38 deletions

View File

@@ -123,6 +123,7 @@ func NewOAuthProxy(opts *options.Options, validator func(string) bool) (*OAuthPr
pageWriter, err := pagewriter.NewWriter(pagewriter.Opts{
TemplatesPath: opts.Templates.Path,
CustomLogo: opts.Templates.CustomLogo,
ProxyPrefix: opts.ProxyPrefix,
Footer: opts.Templates.Footer,
Version: VERSION,