diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-06-06 13:26:21 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-06-06 13:28:12 -0400 |
| commit | 8f12d34393708ab2ec03a5ad44bc83bc86f16dc9 (patch) | |
| tree | 56568c0570dd27c534b70c59de10063f6c61286a /server/index.js | |
| parent | 2059be60461c1577324ab3b51d967e18aa2e700e (diff) | |
bower ; local auth stuff
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')); |
