Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
jonat75 committed Jul 29, 2024
1 parent 207d92f commit 8f09873
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/app/src/api/core-domain/infra/auth/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,6 @@ export const authConfig: AuthOptions = {

return token;
},

async redirect({ url, baseUrl }) {
logger.info(`Redirect called with URL: ${url} and Base URL: ${baseUrl}`);
return url.startsWith(baseUrl) ? url : baseUrl;
},
// expose data from jwt to front
session({ session, token }) {
session.user = token.user;
Expand Down

0 comments on commit 8f09873

Please sign in to comment.