add oauth logins

This commit is contained in:
Michael Q Larson
2014-10-15 13:18:25 -07:00
parent 1bae5f439f
commit 8c15b4beee
2 changed files with 23 additions and 4 deletions

View File

@ -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,