summaryrefslogtreecommitdiff
path: root/src/client/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app')
-rw-r--r--src/client/app/mios.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/mios.ts b/src/client/app/mios.ts
index 0f72cd2f34..ed9e3a6aeb 100644
--- a/src/client/app/mios.ts
+++ b/src/client/app/mios.ts
@@ -265,7 +265,7 @@ export default class MiOS extends EventEmitter {
// When success
.then(res => {
// When failed to authenticate user
- if (res.status !== 200) {
+ if (res.status !== 200 && res.status < 500) {
return this.signout();
}