修复通用 OAuth 弹窗登录与账号关联并隔离迟到结果

This commit is contained in:
cieanyau committed 2026-11-07 08:21:42 +08:00
1 parent d330ad01cc
commit e27f08e36e
5 files changed
+690 -78

No files matched your search

-3
View File
@@ -70,9 +70,6 @@ var w = {
);
if (n.kind === `login`) {
loginAttempt.commit(n.jwt);
try {
sessionStorage.removeItem(`console-oauth-pending`);
} catch {}
await navigateTo(`/`);
} else if (n.kind === `bind`) {
if (new URL(n.url).pathname === `/oauth/callback`)