aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Account.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte
index adea5c70..064f153f 100644
--- a/src/components/Account.svelte
+++ b/src/components/Account.svelte
@@ -65,7 +65,7 @@
document.cookie = `aid=${id}; path=/; max-age=86400`;
if (isArk) {
pendingUrl = url;
- if ($arkkey) {
+ if ($arkkey && $arkaid === id) {
goto(pendingUrl!);
} else if (await tryUnlockArk()) {
goto(pendingUrl!);