mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 14:14:06 +00:00
bleh
This commit is contained in:
@@ -148,7 +148,8 @@ const logout = async (req, res) => {
|
||||
return;
|
||||
} else {
|
||||
res.clearCookie(sessionName);
|
||||
res.sendStatus(200);
|
||||
// res.sendStatus(200);
|
||||
res.redirect(process.env.APP_URI + "?logout=success");
|
||||
logger.debug("Logged out.", { sessionID: delSession.id });
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user