feat: todo in menubar toevoegen
This commit is contained in:
parent
d555144681
commit
37ecad30ea
2 changed files with 3 additions and 1 deletions
|
@ -109,7 +109,7 @@ const router = createRouter({
|
|||
});
|
||||
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
// Verify if user is logged in for paths that require access
|
||||
// Verify if user is logged in for paths that require authentication
|
||||
if (to.meta.requiresAuth) {
|
||||
if (!authState.isLoggedIn) {
|
||||
next("/login");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue