Просмотр исходного кода

Changed to route to the home page instead of about us page when logging in

master
Lene Scholtz 5 лет назад
Родитель
Сommit
1e8a2b47f8
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/components/user/loginPage.vue

+ 1
- 1
src/components/user/loginPage.vue Просмотреть файл

134
           if (this.$store.state.authentication.status === 'error') {
134
           if (this.$store.state.authentication.status === 'error') {
135
             this.$router.push('/user/login');
135
             this.$router.push('/user/login');
136
           } else {
136
           } else {
137
-            this.$router.push('/about/us');
137
+            this.$router.push('/');
138
           }
138
           }
139
         },
139
         },
140
       );
140
       );

Загрузка…
Отмена
Сохранить