From 7a5570948912b74a32201ab34028358bb87ddca4 Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Tue, 27 May 2025 13:08:52 +1000 Subject: [PATCH] fix: don't create http client if signed out --- Coder-Desktop/Coder-Desktop/State.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Coder-Desktop/Coder-Desktop/State.swift b/Coder-Desktop/Coder-Desktop/State.swift index 902d5a12..faf15e05 100644 --- a/Coder-Desktop/Coder-Desktop/State.swift +++ b/Coder-Desktop/Coder-Desktop/State.swift @@ -120,6 +120,7 @@ class AppState: ObservableObject { _sessionToken = Published(initialValue: keychainGet(for: Keys.sessionToken)) if sessionToken == nil || sessionToken!.isEmpty == true { clearSession() + return } client = Client( url: baseAccessURL!, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy