From 8be545d3da1202e4fe8105a8a922bce547c357e2 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 3 Jun 2023 10:09:02 +0800 Subject: [PATCH] fix: ui refresh page after login (#230) --- assets/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/index.js b/assets/index.js index 4e3c6de..3e73e01 100644 --- a/assets/index.js +++ b/assets/index.js @@ -445,6 +445,7 @@ function setupAuth() { $loginBtn.addEventListener("click", async () => { try { await checkAuth() + location.reload(); } catch (err) { alert(err.message); }