update company & crud budgets
This commit is contained in:
@@ -123,7 +123,6 @@ const router = createRouter({
|
||||
router.beforeEach( async(to, from, next) => {
|
||||
const requiresAuth = to.matched.some(url => url.meta.requiresAuth)
|
||||
const session = localStorage.getItem('session');
|
||||
console.log('Se ejecuta router');
|
||||
if(requiresAuth) {
|
||||
//Comprobamos si el usuario esta authenticado
|
||||
if(session) {
|
||||
|
||||
Reference in New Issue
Block a user