auth file fix
This commit is contained in:
2
auth.ts
2
auth.ts
@@ -72,7 +72,7 @@ export const {
|
|||||||
|
|
||||||
if (!exisingUser) return token
|
if (!exisingUser) return token
|
||||||
|
|
||||||
token.isOauth = Boolean(exisingUser.isOauth)
|
token.isOauth = Boolean(exisingUser?.isOauth)
|
||||||
token.provider = exisingUser.provider
|
token.provider = exisingUser.provider
|
||||||
token.role = exisingUser.role
|
token.role = exisingUser.role
|
||||||
token.profileId = exisingUser.profileId
|
token.profileId = exisingUser.profileId
|
||||||
|
|||||||
Reference in New Issue
Block a user