Add OpenID Connect provider name.

This commit is contained in:
Joshua Carp 2017-10-08 00:40:36 -04:00
parent 7b26256df6
commit 34d96f8d84
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ type OIDCProvider struct {
}
func NewOIDCProvider(p *ProviderData) *OIDCProvider {
p.ProviderName = "OpenID Connect"
return &OIDCProvider{ProviderData: p}
}

View File

@ -115,7 +115,7 @@ func getTemplates() *template.Template {
{{ if .SignInMessage }}
<p>{{.SignInMessage}}</p>
{{ end}}
<button type="submit" class="btn">Sign in with a {{.ProviderName}} Account</button><br/>
<button type="submit" class="btn">Sign in with {{.ProviderName}}</button><br/>
</form>
</div>