aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/GlobalErrorStore.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2021-10-27 07:25:26 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2021-10-27 07:25:26 +0530
commit477bdd76a7405ff10a5cfabdec00ee9ae02f2698 (patch)
treebfa8cfb70e6852b9f535ccfd9b05712269a70dc1 /src/stores/GlobalErrorStore.js
parentBumped up ferdi beta version to '5.6.3-beta.2' (diff)
parent5.6.3-nightly.44 [skip ci] (diff)
downloadferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.gz
ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.zst
ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.zip
Merge branch 'nightly' into release
Diffstat (limited to 'src/stores/GlobalErrorStore.js')
-rw-r--r--src/stores/GlobalErrorStore.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stores/GlobalErrorStore.js b/src/stores/GlobalErrorStore.js
index 7cbfdc608..9c851d6f2 100644
--- a/src/stores/GlobalErrorStore.js
+++ b/src/stores/GlobalErrorStore.js
@@ -64,7 +64,7 @@ export default class GlobalErrorStore extends Store {
64 this.response = {}; 64 this.response = {};
65 } 65 }
66 if (this.error.status === 401) { 66 if (this.error.status === 401) {
67 window.ferdi.stores.app.authRequestFailed = true; 67 window['ferdi'].stores.app.authRequestFailed = true;
68 // this.actions.user.logout({ serverLogout: true }); 68 // this.actions.user.logout({ serverLogout: true });
69 } 69 }
70 } 70 }
@@ -78,10 +78,10 @@ export default class GlobalErrorStore extends Store {
78 }, 78 },
79 error: this.error, 79 error: this.error,
80 response: this.response, 80 response: this.response,
81 server: window.ferdi.stores.settings.app.server, 81 server: window['ferdi'].stores.settings.app.server,
82 }); 82 });
83 } else { 83 } else {
84 window.ferdi.stores.app.authRequestFailed = false; 84 window['ferdi'].stores.app.authRequestFailed = false;
85 } 85 }
86 }); 86 });
87} 87}