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:
parent
ee926e73cb
commit
6feee555ba
24 changed files with 74 additions and 57 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue