diff options
Diffstat (limited to '174bg/manager/public/index.html')
| -rw-r--r-- | 174bg/manager/public/index.html | 10 |
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; |
