mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 08:19:31 +00:00
Removing obsolete code
This commit is contained in:
@@ -38,9 +38,6 @@ router.get('/password-reset', (req, res) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
router.get('/logout', (req, res) => {
|
router.get('/logout', (req, res) => {
|
||||||
if (!req.session.authenticated)
|
|
||||||
return res.redirect('/login');
|
|
||||||
|
|
||||||
return res.render('logout', {
|
return res.render('logout', {
|
||||||
title: 'Stratos - Logout',
|
title: 'Stratos - Logout',
|
||||||
username: req.session.fullName
|
username: req.session.fullName
|
||||||
|
|||||||
Reference in New Issue
Block a user