diff --git a/auth.ts b/auth.ts index ee385b3..e73acf4 100644 --- a/auth.ts +++ b/auth.ts @@ -72,9 +72,11 @@ export const { if (!exisingUser) return token + /* eslint-disable */ token.isOauth = exisingUser.hasOwnProperty('isOauth') ? Boolean(exisingUser.isOauth) : false + /* eslint-enable */ token.provider = exisingUser.provider token.role = exisingUser.role token.profileId = exisingUser.profileId