Added beginning of login functionality
This commit is contained in:
@@ -168,11 +168,6 @@ router.beforeEach(async (to, from, next) => {
|
||||
})
|
||||
}
|
||||
|
||||
console.log('Auth Guard:', {
|
||||
to: to.fullPath,
|
||||
isUserLoggedIn: isUserLoggedIn.value,
|
||||
isParentAuthenticated: isParentAuthenticated.value,
|
||||
})
|
||||
// Always allow access to /auth routes
|
||||
if (to.path.startsWith('/auth')) {
|
||||
return next()
|
||||
|
||||
Reference in New Issue
Block a user