Browse Source

git add .

main 2.6.0
Stian Fredrik Aune 1 year ago
parent
commit
c867638b9a
  1. 2
      ykonsole-server/src/main/kotlin/net/aiterp/git/ykonsole2/Server.kt

2
ykonsole-server/src/main/kotlin/net/aiterp/git/ykonsole2/Server.kt

@ -111,7 +111,7 @@ private data class RepositorySet(
val tokenEndpoint = strEnv("INDIGO2_OIDC_TOKEN_ENDPOINT")
val clientId = strEnv("INDIGO2_OIDC_CLIENT_ID")
val clientSecret = strEnv("INDIGO2_OIDC_CLIENT_SECRET")
val autoClaim = optStrEnv("INDIGO2_OIDC_AUTO_CLAIM").lowercase() in arrayOf("yes", "1", "true")
val autoClaim = (optStrEnv("INDIGO2_OIDC_AUTO_CLAIM")?.lowercase() ?: "false") in arrayOf("yes", "1", "true")
return Indigo2(
indigoHost = indigo2Endpoint,

Loading…
Cancel
Save