summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2020-02-14 23:59:54 +0900
committerGitHub <noreply@github.com>2020-02-14 23:59:54 +0900
commit585f3c3d3e49d505b8dfbe168fae09f8d89a179a (patch)
tree9ce8c8edb3178adc18f648e6fa7ee9adc44d1348 /src
parentFix favicon provide (diff)
downloadmisskey-585f3c3d3e49d505b8dfbe168fae09f8d89a179a.tar.gz
misskey-585f3c3d3e49d505b8dfbe168fae09f8d89a179a.tar.bz2
misskey-585f3c3d3e49d505b8dfbe168fae09f8d89a179a.zip
Fix Oops! (#5945)
Diffstat (limited to 'src')
-rw-r--r--src/client/mios.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mios.ts b/src/client/mios.ts
index 813617c7d0..0b94d331ea 100644
--- a/src/client/mios.ts
+++ b/src/client/mios.ts
@@ -59,7 +59,7 @@ export default class MiOS extends EventEmitter {
let me = null;
// Return when not signed in
- if (token == null) {
+ if (token == null || token === 'null') {
return done();
}