From 249385c77502eec1464b4009e595753283636f98 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 3 Mar 2026 01:20:26 -0700 Subject: [PATCH] fix(auth/csvauth): load tokens into hashmap so that they can be retrieved by CredentialKeys --- auth/csvauth/login.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/auth/csvauth/login.go b/auth/csvauth/login.go index 4c971ee..722276c 100644 --- a/auth/csvauth/login.go +++ b/auth/csvauth/login.go @@ -44,9 +44,8 @@ func (a *Auth) CacheCredential(c Credential) error { a.credentials[name] = c if c.Purpose == PurposeToken { a.tokens[c.hashID] = c - } else { - a.hashedCredentials[nameID] = c } + a.hashedCredentials[nameID] = c return nil }