Skip to content

Commit

Permalink
Removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
cditcher committed Dec 4, 2024
1 parent bae6ef0 commit 693c07f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/src/routes/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ router.get("/logout", async (req, res, next) => {
}else {
let retUrl;
if (req.query && req.query.sessionExpired) {
console.log("1")
retUrl = encodeURIComponent(primaryURL + '/session-expired' + '&client_id=' + config.get('oidc:clientId'));
} else {
console.log("2")
retUrl = encodeURIComponent(primaryURL + '/logout' + '&client_id=' + config.get('oidc:clientId'));
}
res.redirect(config.get('siteMinder_logout_endpoint') + retUrl);
Expand Down

0 comments on commit 693c07f

Please sign in to comment.