diff --git a/src/api/routes/auth/sessions.ts b/src/api/routes/auth/sessions.ts index e2cdca0c8..2c0bbe9cd 100644 --- a/src/api/routes/auth/sessions.ts +++ b/src/api/routes/auth/sessions.ts @@ -71,14 +71,12 @@ router.post( } for (const session of sessions) { - console.log("Session pre remove:", session); - await session.remove(); - console.log("Session post remove:", session); await emitEvent({ session_id: session.session_id, event: "SB_SESSION_REMOVE", origin: "Sessions logout", }); + await session.remove(); } res.status(204).send(); },