summaryrefslogtreecommitdiff
path: root/packages/client/src/scripts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-06-29 21:22:18 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-06-29 21:22:18 +0900
commit3f6e04697a9deb7f3eb9ff82e496f2e16e334c9f (patch)
treed21f5ce3a0261e2f91cbd914fec124a64e9115f5 /packages/client/src/scripts
parentfeat(client): add tag cloud component (diff)
parent Prevent access to user pages when not logged in [v2] (#8904) (diff)
downloadmisskey-3f6e04697a9deb7f3eb9ff82e496f2e16e334c9f.tar.gz
misskey-3f6e04697a9deb7f3eb9ff82e496f2e16e334c9f.tar.bz2
misskey-3f6e04697a9deb7f3eb9ff82e496f2e16e334c9f.zip
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
Diffstat (limited to 'packages/client/src/scripts')
-rw-r--r--packages/client/src/scripts/please-login.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/scripts/please-login.ts b/packages/client/src/scripts/please-login.ts
index e21a6d2ed3..1f38061841 100644
--- a/packages/client/src/scripts/please-login.ts
+++ b/packages/client/src/scripts/please-login.ts
@@ -17,5 +17,5 @@ export function pleaseLogin(path?: string) {
},
}, 'closed');
- throw new Error('signin required');
+ if (!path) throw new Error('signin required');
}