Skip to content

Commit 98d3bb6

Browse files
committed
fix: jwt strategy where 절 추가
1 parent 652dae2 commit 98d3bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth/auth.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class AuthService {
4242
payload: JwtPayload,
4343
): Promise<JwtPayload | undefined> {
4444
return await this.userSerivce.findByFields({
45-
where: { id: payload.id },
45+
where: { id: payload.id, status: 'activated' },
4646
});
4747
}
4848
}

0 commit comments

Comments
 (0)