1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00

feat: allow customizing the display name of the OpenID Connect provider

This commit is contained in:
Finn 2024-08-12 22:05:15 -07:00 committed by GitHub
parent ee926e73cb
commit 6feee555ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 74 additions and 57 deletions

View file

@ -40,6 +40,7 @@ func (f *funcMap) Map() template.FuncMap {
"baseURL": config.Opts.BaseURL,
"rootURL": config.Opts.RootURL,
"disableLocalAuth": config.Opts.DisableLocalAuth,
"oidcProviderName": config.Opts.OIDCProviderName,
"hasOAuth2Provider": func(provider string) bool {
return config.Opts.OAuth2Provider() == provider
},