Skip to content

Commit

Permalink
feat: #OBS-I537: removed console statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakshitha-D committed Jan 30, 2025
1 parent 7926d86 commit 965067b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/middlewares/passportAuthenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export default {
return generateToken(user)
.then((token: any) => {
req.session.token = token;
console.log("token: ", token)
req.session.roles = _.get(user, ['roles']);
req.session.userDetails = _.pick(user, ['id', 'user_name', 'email_address', 'roles', 'is_owner']);
return res.redirect(baseURL || '/');
Expand Down

0 comments on commit 965067b

Please sign in to comment.