asalada
This commit is contained in:
parent
e09af27909
commit
4035a28705
@ -70,9 +70,9 @@ router.beforeEach(async(to, from, next) => {
|
||||
// return next('/')
|
||||
// }
|
||||
|
||||
if (to.meta.requiresAuth && !isLoggedIn) {
|
||||
return next("/login");
|
||||
}
|
||||
// if (to.meta.requiresAuth && !isLoggedIn) {
|
||||
// return next("/login");
|
||||
// }
|
||||
|
||||
return next();
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user