diff --git a/models/User.js b/models/User.js index 66c32ffbb6..205c65e016 100644 --- a/models/User.js +++ b/models/User.js @@ -3,10 +3,14 @@ var bcrypt = require('bcrypt-nodejs'); var crypto = require('crypto'); var userSchema = new mongoose.Schema({ - email: { type: String, unique: true, lowercase: true }, - password: String, +// email: { type: String, unique: true, lowercase: true }, +// password: String, + linkedin: String, + facebook: String, + github: String, twitter: String, + google: String, instagram: String, tokens: Array, diff --git a/views/account/login.jade b/views/account/login.jade index 73a1780811..5247a277b8 100644 --- a/views/account/login.jade +++ b/views/account/login.jade @@ -18,6 +18,21 @@ block content | Login a.btn.btn-link(href='/forgot') Forgot your password? hr - a.btn.btn-block.btn-twitter.btn-social(href='/auth/twitter') + a.btn.btn-block.btn-facebook.btn-social(href='/auth/facebook') + i.fa.fa-facebook + | Sign in with Facebook + a.btn.btn-block.btn-twitter.btn-social(href='/auth/twitter') i.fa.fa-twitter - | Sign in with Twitter \ No newline at end of file + | Sign in with Twitter + a.btn.btn-block.btn-google-plus.btn-social(href='/auth/google') + i.fa.fa-google-plus + | Sign in with Google + a.btn.btn-block.btn-github.btn-social(href='/auth/github') + i.fa.fa-github + | Sign in with GitHub + a.btn.btn-block.btn-linkedin.btn-social(href='/auth/linkedin') + i.fa.fa-linkedin + | Sign in with LinkedIn + a.btn.btn-block.btn-instagram.btn-social(href='/auth/instagram') + i.fa.fa-instagram + | Sign in with Instagram \ No newline at end of file