diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-29 21:22:18 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-29 21:22:18 +0900 |
| commit | 3f6e04697a9deb7f3eb9ff82e496f2e16e334c9f (patch) | |
| tree | d21f5ce3a0261e2f91cbd914fec124a64e9115f5 /packages/client/src/scripts | |
| parent | feat(client): add tag cloud component (diff) | |
| parent | Prevent access to user pages when not logged in [v2] (#8904) (diff) | |
| download | misskey-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.ts | 2 |
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'); } |