summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/app/boot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/boot.js b/src/web/app/boot.js
index 348787726b..612e73e885 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;