1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00

Allow html in banner message (#462)

* allow html in banner message

* Fix changelog (move under new version)
This commit is contained in:
Siim Tiilen
2020-04-04 17:01:11 +03:00
committed by GitHub
parent 3f7837b955
commit bdc686103e
3 changed files with 6 additions and 4 deletions

View File

@ -469,7 +469,7 @@ func (p *OAuthProxy) SignInPage(rw http.ResponseWriter, req *http.Request, code
t := struct {
ProviderName string
SignInMessage string
SignInMessage template.HTML
CustomLogin bool
Redirect string
Version string
@ -477,7 +477,7 @@ func (p *OAuthProxy) SignInPage(rw http.ResponseWriter, req *http.Request, code
Footer template.HTML
}{
ProviderName: p.provider.Data().ProviderName,
SignInMessage: p.SignInMessage,
SignInMessage: template.HTML(p.SignInMessage),
CustomLogin: p.displayCustomLoginForm(),
Redirect: redirectURL,
Version: VERSION,