summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/index.js2
-rw-r--r--server/lib/auth/index.js3
2 files changed, 3 insertions, 2 deletions
diff --git a/server/index.js b/server/index.js
index 90b724c..c2b3421 100644
--- a/server/index.js
+++ b/server/index.js
@@ -82,6 +82,8 @@ site.route = function () {
app.get('/home', views.demoHome);
app.get('/login', views.modal);
app.get('/logout', auth.logout);
+ app.get('/signin', views.modal);
+ app.get('/signout', auth.logout);
app.get('/signup', views.modal);
app.post('/auth/signin', auth.loggedInLocal);
app.post('/auth/signup', auth.signup);
diff --git a/server/lib/auth/index.js b/server/lib/auth/index.js
index c2275ff..0c46105 100644
--- a/server/lib/auth/index.js
+++ b/server/lib/auth/index.js
@@ -30,14 +30,13 @@ var auth = {
callbackURL: 'http://' + config.host + '/auth/twitter/callback'
}, auth.insertTwitterUser));
- /*
passport.use(new FacebookStrategy({
clientID: process.env.VVALLS_FACEBOOK_KEY || '719828821410310',
clientSecret: process.env.VVALLS_FACEBOOK_SECRET || 'f9aba78e08f37f621eadb88b1409d48c',
callbackURL: 'http://' + config.host + '/auth/facebook/callback',
enableProof: false,
}, auth.insertFacebookUser));
- */
+
auth.mail.init()
},