diff options
Diffstat (limited to 'server/index.js')
| -rw-r--r-- | server/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/index.js b/server/index.js index d5afe6e..59dc7a5 100644 --- a/server/index.js +++ b/server/index.js @@ -58,6 +58,7 @@ auth.init() // Initialize views app.get('/', views.home); app.get('/login', views.login); +app.post('/login', auth.loggedIn('local')); app.get('/logout', auth.logout); app.get('/auth/twitter', auth.login('twitter')); app.get('/auth/twitter/callback', auth.loggedIn('twitter')); |
