瀏覽代碼

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

master
Lene Scholtz 5 年之前
父節點
當前提交
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
       );

Loading…
取消
儲存