diff --git a/src/web/app/boot.js b/src/web/app/boot.js index 348787726..612e73e88 100644 --- a/src/web/app/boot.js +++ b/src/web/app/boot.js @@ -111,7 +111,7 @@ function fetchme(token, silent, cb) { }).then(res => { // When failed to authenticate user if (res.status !== 200) { - signout(); + return signout(); } res.json().then(i => { me = i;