summaryrefslogtreecommitdiff
path: root/controllers/root/logout.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--controllers/root/logout.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/controllers/root/logout.js b/controllers/root/logout.js
index 078df9a..d8b1b75 100644
--- a/controllers/root/logout.js
+++ b/controllers/root/logout.js
@@ -1,7 +1,7 @@
export function logout_get(req, res) {
if (req.session.user !== undefined) {
- res.clearCookie("JDMSessionId");
+ res.clearCookie('JDMSessionId');
req.session.destroy();
}
- return res.redirect(302, "/");
+ return res.redirect(302, '/');
}