From 9ca6a6bf064634bab6611f4e70d20a62fd3b48ed Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 25 Sep 2018 21:23:26 +0900 Subject: サーバーへの接続が不安定な時にサインアウトしないように MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/app/mios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3-freya