1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-02 16:58:43 +09:00

サーバーへの接続が不安定な時にサインアウトしないように

This commit is contained in:
syuilo 2018-09-25 21:23:26 +09:00
parent afdacf14b7
commit 9ca6a6bf06
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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();
}