Merge pull request #473 from jmcarp/oidc-name
Add OpenID Connect provider name.
This commit is contained in:
commit
b7f9438b8a
@ -17,6 +17,7 @@ type OIDCProvider struct {
|
||||
}
|
||||
|
||||
func NewOIDCProvider(p *ProviderData) *OIDCProvider {
|
||||
p.ProviderName = "OpenID Connect"
|
||||
return &OIDCProvider{ProviderData: p}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user