Skip to content

Commit a2f15d9

Browse files
committed
remove setting authconfig nil in hub
Signed-off-by: matewolf <matewolf96@gmail.com>
1 parent 2da8a45 commit a2f15d9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cli/hub/sessionstore/file.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ func (s *FileSecretStore) SaveHubSession(sessionKey string, session *HubSession)
6666

6767
sessions.HubSessions[sessionKey] = session
6868

69-
// TODO: Remove if auth config is cached in the session
70-
session.AuthConfig = nil
71-
7269
if err = rewriteJSONFilePretty(file, sessions); err != nil {
7370
return fmt.Errorf("%w: %w", ErrCouldNotWriteFile, err)
7471
}

0 commit comments

Comments
 (0)