Fix up auth
This commit is contained in:
parent
8a142fcdaa
commit
f4bcba82d1
3 changed files with 5 additions and 2 deletions
3
auth.ts
3
auth.ts
|
|
@ -18,9 +18,8 @@ export const {
|
|||
}
|
||||
return token
|
||||
}
|
||||
// // @ts-ignore
|
||||
// @TODO
|
||||
// authorized({ request, auth }) {
|
||||
// if (!request.nextUrl.pathname.startsWith('/share/')) return false
|
||||
// return !!auth?.user
|
||||
// }
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue