Fixed Login passport configuration, plus code refactoring and cleanup

This commit is contained in:
Sahat Yalkabov
2013-11-18 17:37:50 -05:00
parent bdfec9f914
commit 01f027430b
6 changed files with 47 additions and 32 deletions

View File

@@ -1,7 +1,6 @@
var mongoose = require('mongoose'),
bcrypt = require('bcrypt');
var userSchema = new mongoose.Schema({
firstName: { type: String, required: true},
lastName: { type: String, required: true},