From fbef52c9b523e41042517a2203f99e4ec1ddcda5 Mon Sep 17 00:00:00 2001 From: Jordon Collister Date: Thu, 4 Jun 2026 23:46:38 +0100 Subject: applu fixledger.patch --- 174bg/manager/public/index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to '174bg/manager/public') diff --git a/174bg/manager/public/index.html b/174bg/manager/public/index.html index e18dfee..45b1541 100644 --- a/174bg/manager/public/index.html +++ b/174bg/manager/public/index.html @@ -613,10 +613,12 @@ } } - updateAuthUI(); - if (pb.authStore.isValid) { - initAuthedUI(); - } + if (!oauthParams.has("code") || !oauthParams.has("state")) { + updateAuthUI(); + if (pb.authStore.isValid) { + initAuthedUI(); + } + } loginBtn.addEventListener("click", async () => { loginBtn.disabled = true; -- cgit v1.2.3