feat: frontend member management
- Leden pagina met VDataTable, rol chips, uitnodigingen sectie - InviteMemberDialog + EditMemberRoleDialog - Publieke acceptatiepagina /invitations/[token] - Router guard uitgebreid met requiresAuth: false support - MemberCollection backend uitgebreid met volledige pending_invitations lijst
This commit is contained in:
@@ -12,7 +12,7 @@ export function setupGuards(router: Router) {
|
||||
}
|
||||
|
||||
// Protected pages: redirect to login if not authenticated
|
||||
if (!isPublic && !authStore.isAuthenticated) {
|
||||
if (!isPublic && !authStore.isAuthenticated && to.meta.requiresAuth !== false) {
|
||||
return { path: '/login', query: { to: to.fullPath } }
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user