Add ProviderName field; use in sign_in template

This commit is contained in:
Mike Bland
2015-03-31 12:59:07 -04:00
parent 0136ab01fd
commit 666e6ad436
5 changed files with 16 additions and 9 deletions
+2
View File
@@ -279,11 +279,13 @@ func (p *OauthProxy) SignInPage(rw http.ResponseWriter, req *http.Request, code
rw.WriteHeader(code)
t := struct {
ProviderName string
SignInMessage string
CustomLogin bool
Redirect string
Version string
}{
ProviderName: p.provider.Data().ProviderName,
SignInMessage: p.SignInMessage,
CustomLogin: p.displayCustomLoginForm(),
Redirect: req.URL.RequestURI(),