aboutsummaryrefslogtreecommitdiff
path: root/174bg/manager/public/index.html
diff options
context:
space:
mode:
authorJordon Collister <realfluffyuwu@pm.me>2026-06-04 23:46:38 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-06-05 12:26:45 +0100
commitfbef52c9b523e41042517a2203f99e4ec1ddcda5 (patch)
tree99f6d17b200a3c30aea4a43ec37f65f985d8c449 /174bg/manager/public/index.html
parent780787ca768fc534adfa702871229018da93a960 (diff)
downloadunnamed-group-fbef52c9b523e41042517a2203f99e4ec1ddcda5.tar
unnamed-group-fbef52c9b523e41042517a2203f99e4ec1ddcda5.tar.gz
unnamed-group-fbef52c9b523e41042517a2203f99e4ec1ddcda5.tar.bz2
unnamed-group-fbef52c9b523e41042517a2203f99e4ec1ddcda5.tar.xz
unnamed-group-fbef52c9b523e41042517a2203f99e4ec1ddcda5.zip
applu fixledger.patch
Diffstat (limited to '174bg/manager/public/index.html')
-rw-r--r--174bg/manager/public/index.html10
1 files changed, 6 insertions, 4 deletions
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;