mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 20:39:28 +00:00
Added logout template and route
This commit is contained in:
@@ -25,6 +25,13 @@ router.get('/password-reset', (req, res) => {
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/logout', (req, res) => {
|
||||
return res.render('logout', {
|
||||
title: 'Stratos - Logout',
|
||||
username: req.session.fullName
|
||||
});
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
root: '/',
|
||||
router: router
|
||||
|
||||
Reference in New Issue
Block a user