Skip to content
Snippets Groups Projects
Unverified Commit 9ca6a6bf authored by syuilo's avatar syuilo
Browse files

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

parent afdacf14
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment