Skip to content

Commit

Permalink
get rid of some logging in Session.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNi245 committed Jul 31, 2024
1 parent 3e38348 commit 242d0a8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/lib/delivery/src/Session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,13 @@ export async function checkToken(
return false;
}

console.debug('checkToken - ensName', ensName);
console.debug('checkToken - session', session);

// check jwt for validity
try {
// will throw if signature is invalid or exp is in the past
const jwtPayload = verify(token, serverSecret, {
algorithms: ['HS256'],
});

console.debug('checkToken - jwtPayload', jwtPayload);

// check if payload is well formed
if (
typeof jwtPayload === 'string' ||
Expand Down

0 comments on commit 242d0a8

Please sign in to comment.