diff --git a/src/app/Login.vue b/src/app/Login.vue
index b830f16..73b49fa 100644
--- a/src/app/Login.vue
+++ b/src/app/Login.vue
@@ -52,12 +52,12 @@
password: this.credentials.password,
};
auth.login(credentials)
- .then(() => {
+ .then((data) => {
+ console.log('Request succeeded with JSON response', data);
router.go('/app/');
- })
- .catch(() => {
- logging.error(this.$t('login.credentials_invalids'));
- });
+ }).catch((error) => {
+ console.log('Request failed', error);
+ });
},
},
};
diff --git a/src/landing-page/LoginBar/LoginBar.vue b/src/landing-page/LoginBar/LoginBar.vue
index 42e9012..9e365b3 100644
--- a/src/landing-page/LoginBar/LoginBar.vue
+++ b/src/landing-page/LoginBar/LoginBar.vue
@@ -20,7 +20,7 @@