hooked up all items on the list settings section
This commit is contained in:
parent
53df349d9f
commit
91173021b2
32 changed files with 578 additions and 178 deletions
|
|
@ -1,6 +1,12 @@
|
|||
export default defineNuxtRouteMiddleware((to) => {
|
||||
const publicRoutes = ['/auth/login']
|
||||
if (publicRoutes.includes(to.path)) return
|
||||
const publicRoutes = [
|
||||
'auth-login',
|
||||
'auth-register',
|
||||
'auth-reset-password',
|
||||
'invitations-token-accept',
|
||||
'invitations-token-decline',
|
||||
]
|
||||
if (publicRoutes.includes(String(to.name))) return
|
||||
|
||||
const xsrfToken = useCookie('XSRF-TOKEN')
|
||||
if (!xsrfToken.value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue