We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0069760 commit d55603bCopy full SHA for d55603b
src/users/auth/jwt-strategy.ts
@@ -14,9 +14,6 @@ export class JwtStrategy extends PassportStrategy(Strategy) {
14
}
15
16
async validate(payload: JwtPayload, done: VerifiedCallback) {
17
- console.log('ahoi');
18
- console.log(await this.usersService.findAll());
19
- console.log('nii');
20
const user = await this.usersService.getUserByEmail(payload.email);
21
if (!user) {
22
return done(new HttpException({}, HttpStatus.UNAUTHORIZED), false);
0 commit comments