Force auth

This commit is contained in:
Jared Palmer 2023-06-22 10:37:35 -07:00
parent 1cc1beb63e
commit c8aefcab04
5 changed files with 26 additions and 9 deletions

View file

@ -17,11 +17,11 @@ export const {
token.image = profile.picture
}
return token
},
// @ts-ignore
authorized({ auth }) {
return !!auth?.user
}
// @TODO
// authorized({ request, auth }) {
// return !!auth?.user
// }
},
pages: {
signIn: '/sign-in'