Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
Merge pull request #473 from jmcarp/oidc-name
Browse files Browse the repository at this point in the history
Add OpenID Connect provider name.
  • Loading branch information
jehiah authored Oct 13, 2017
2 parents f682863 + 34d96f8 commit b7f9438
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions providers/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type OIDCProvider struct {
}

func NewOIDCProvider(p *ProviderData) *OIDCProvider {
p.ProviderName = "OpenID Connect"
return &OIDCProvider{ProviderData: p}
}

Expand Down
2 changes: 1 addition & 1 deletion templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit b7f9438

Please sign in to comment.