Merge branch 'stage' of github.com:whitef0x0/tellform into stage
This commit is contained in:
commit
0e5985dcb4
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue