From c9a68d3a63185f33964c5767e28af682950f4654 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 11 Dec 2024 17:10:41 +0100 Subject: [PATCH] fix(openid): lint --- pkg/modules/auth/openid/providers.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/modules/auth/openid/providers.go b/pkg/modules/auth/openid/providers.go index 0a1155883..a646e8658 100644 --- a/pkg/modules/auth/openid/providers.go +++ b/pkg/modules/auth/openid/providers.go @@ -120,9 +120,11 @@ func getProviderFromMap(pi map[string]interface{}, key string) (provider *Provid } allKeys := append( - requiredKeys, - "logouturl", - "scope", + []string{ + "logouturl", + "scope", + }, + requiredKeys..., ) for _, configKey := range allKeys {