aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--router.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/router.js b/router.js
index 4130ee7..ee7f2f6 100644
--- a/router.js
+++ b/router.js
@@ -235,7 +235,7 @@ module.exports = function(app) {
*
* '/logout'
*/
- app.post('/logout', function(req, res) {
+ app.get('/logout', function(req, res) {
req.logout();
res.redirect('/');
});