Merge branch 'stage' of github.com:whitef0x0/tellform into stage

This commit is contained in:
David Baldwynn 2016-07-04 20:49:47 -04:00
commit 0e5985dcb4

View file

@ -132,7 +132,7 @@ UserSchema.plugin(mUtilities.timestamp, {
useVirtual: false
});
/*
UserSchema.pre('find', function (next) {
//Change username if it is still the user's email
@ -153,7 +153,7 @@ UserSchema.pre('find', function (next) {
console.log('Username change message sent: ' + info.response);
});
}
});
});*/
UserSchema.pre('save', function (next) {