From a918f4caa100a32bf798dec1335dbdd16e628d29 Mon Sep 17 00:00:00 2001 From: Maksymilian Lewicki Date: Thu, 14 Mar 2024 10:40:46 +0100 Subject: [PATCH] Add consumer key change force mode to tokenPKI handler --- http/api/tokenpki.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/api/tokenpki.go b/http/api/tokenpki.go index eea47c9..7a4bfb7 100644 --- a/http/api/tokenpki.go +++ b/http/api/tokenpki.go @@ -146,6 +146,6 @@ func DecryptTokenPKIHandler(store TokenPKIRetriever, tokenStore AuthTokensStore, jsonError(w, err) return } - storeTokens(r.Context(), logger, r.URL.Path, tokens, tokenStore, w, false) + storeTokens(r.Context(), logger, r.URL.Path, tokens, tokenStore, w, force) } }