summaryrefslogtreecommitdiffstats
path: root/webapp/src/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/main.js')
-rw-r--r--webapp/src/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/main.js b/webapp/src/main.js
index 70afb40..9604fd1 100644
--- a/webapp/src/main.js
+++ b/webapp/src/main.js
@@ -60,7 +60,7 @@ Vue.use(VueCodemirror, {
Vue.use(VueTouch)
axios.interceptors.response.use(null, error => {
- if (error && error.response.status === 401) {
+ if (error && error.response.error === 401) {
axios.post('/api/authentication/logout').then(response => {
router.push('/login')
socket.close()