toror33

logout 기능 구현

......@@ -6,4 +6,8 @@ router.get('/', function(req, res, next) {
res.render('index', { title: 'Express' });
});
router.get('/logout',function (req,res) {
req.logout();
res.redirect('/');
});
module.exports = router;
......