Fix small issues.

This commit is contained in:
Yang Luo
2021-05-23 23:38:38 +08:00
parent 02edb89602
commit 31d981baf1
5 changed files with 12 additions and 4 deletions

View File

@ -57,6 +57,10 @@ func extendApplicationWithProviders(application *Application) {
providers := GetProviders(application.Owner)
m := map[string]*Provider{}
for _, provider := range providers {
if provider.Category != "OAuth" {
continue
}
provider.ClientSecret = ""
provider.ProviderUrl = ""
m[provider.Name] = provider