3d-interface/controllers/logout/index.js

8 lines
127 B
JavaScript
Raw Normal View History

module.exports.index = function(req, res) {
2015-07-01 11:00:05 +02:00
req.session = null;
res.locals.session = null;
2015-07-01 11:00:05 +02:00
res.redirect('/');
};