Skip to content

Commit

Permalink
fix: revert auto-logging info
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Feb 9, 2023
1 parent b7296c0 commit f86fe82
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/auth.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ function createAuthGuard(type?: string | string[]): Type<CanActivate> {

handleRequest(err, user, info, context, status): TUser {
if (err || !user) {
if (info) {
authLogger.error(info);
}
throw err || new UnauthorizedException();
}
return user;
Expand Down

0 comments on commit f86fe82

Please sign in to comment.