From b5d55836f351ee00c87da3dab36de7a76a2f98e1 Mon Sep 17 00:00:00 2001 From: rasouza Date: Sun, 28 Apr 2024 19:18:13 +0200 Subject: [PATCH] fix(api): :bug: remove profile picture from JWT --- apps/api/src/auth/strategies/jwt.strategy.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/api/src/auth/strategies/jwt.strategy.ts b/apps/api/src/auth/strategies/jwt.strategy.ts index 5087cde..1cd2439 100644 --- a/apps/api/src/auth/strategies/jwt.strategy.ts +++ b/apps/api/src/auth/strategies/jwt.strategy.ts @@ -35,8 +35,7 @@ export class JwtStrategy extends PassportStrategy(Strategy, 'jwt') { return { id: payload.sub, - email: payload.email, - picture: payload.picture + email: payload.email } } }