サーバーへの接続が不安定な時にサインアウトしないように
This commit is contained in:
parent
afdacf14b7
commit
9ca6a6bf06
|
@ -265,7 +265,7 @@ export default class MiOS extends EventEmitter {
|
||||||
// When success
|
// When success
|
||||||
.then(res => {
|
.then(res => {
|
||||||
// When failed to authenticate user
|
// When failed to authenticate user
|
||||||
if (res.status !== 200) {
|
if (res.status !== 200 && res.status < 500) {
|
||||||
return this.signout();
|
return this.signout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue