feat: update authentication flow and user navigation
This commit is contained in:
@@ -10,6 +10,6 @@ export default defineNuxtRouteMiddleware(async () => {
|
||||
}
|
||||
|
||||
if (auth.isAuthenticated.value && auth.user.value) {
|
||||
return navigateTo('/me')
|
||||
return navigateTo('/dashboard')
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user