get email persisting but still need to pull it in on authentication

This commit is contained in:
Michael Q Larson
2014-10-24 15:22:09 -07:00
parent 64a792e831
commit b68458cdb5
4 changed files with 39 additions and 16 deletions

View File

@ -3,7 +3,7 @@ var bcrypt = require('bcrypt-nodejs');
var crypto = require('crypto');
var userSchema = new mongoose.Schema({
// email: { type: String, unique: true, lowercase: true },
email: { type: String, unique: true, lowercase: true },
// password: String,
linkedin: String,