From 2ca5ee026d400109d55b501881de868572176297 Mon Sep 17 00:00:00 2001 From: Aditya Manthramurthy Date: Tue, 17 Aug 2021 02:25:05 -0700 Subject: [PATCH] Remove default value of STSExpiry for LDAP (#12985) This ensures that the deprecation warning is shown when the setting is actually used in a configuration - instead of showing up whenever LDAP is enabled. --- internal/config/identity/ldap/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/identity/ldap/config.go b/internal/config/identity/ldap/config.go index 7ebb8b791..b208d1f6c 100644 --- a/internal/config/identity/ldap/config.go +++ b/internal/config/identity/ldap/config.go @@ -144,7 +144,7 @@ var ( }, config.KV{ Key: STSExpiry, - Value: "1h", + Value: "", }, config.KV{ Key: TLSSkipVerify,