Add OpenID Connect provider name.
This commit is contained in:
parent
7b26256df6
commit
34d96f8d84
@ -17,6 +17,7 @@ type OIDCProvider struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewOIDCProvider(p *ProviderData) *OIDCProvider {
|
func NewOIDCProvider(p *ProviderData) *OIDCProvider {
|
||||||
|
p.ProviderName = "OpenID Connect"
|
||||||
return &OIDCProvider{ProviderData: p}
|
return &OIDCProvider{ProviderData: p}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ func getTemplates() *template.Template {
|
|||||||
{{ if .SignInMessage }}
|
{{ if .SignInMessage }}
|
||||||
<p>{{.SignInMessage}}</p>
|
<p>{{.SignInMessage}}</p>
|
||||||
{{ end}}
|
{{ 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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user