Explorar o código

Fixes navigation to dashboard after login.

Christopher Leggett %!s(int64=5) %!d(string=hai) anos
pai
achega
fc4e12ceb6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/js/views/Login.vue

+ 1 - 1
resources/js/views/Login.vue

@@ -70,7 +70,7 @@
         },
         beforeRouteEnter (to, from, next) { 
             if (localStorage.getItem('jwt')) {
-                return next('board');
+                return next('dashboard');
             }
 
             next();