diff --git a/auth.ts b/auth.ts index 2db7f5c..0fe3b95 100644 --- a/auth.ts +++ b/auth.ts @@ -72,7 +72,7 @@ export const { if (!exisingUser) return token - token.isOauth = Boolean(exisingUser?.isOauth) + token.isOauth = Boolean(exisingUser?.isOauth || false) token.provider = exisingUser.provider token.role = exisingUser.role token.profileId = exisingUser.profileId