feat(emails): add recaptureEmailsPhase path to flags

This commit is contained in:
Matteo Pagliazzi
2014-11-05 17:56:10 +01:00
parent 94a813fc6b
commit cfbb564801
+3
View File
@@ -117,6 +117,9 @@ var UserSchema = new Schema({
freeRebirth: {type: Boolean, 'default': false},
levelDrops: {type:Schema.Types.Mixed, 'default':{}},
chatRevoked: Boolean,
// Used to track the status of recapture emails sent to each user,
// can be 0 - no email sent - 1, 2 or 3 - 3 means no more email will be sent to the user
recaptureEmailsPhase: {type: Number, 'default': 0},
communityGuidelinesAccepted: {type: Boolean, 'default': false}
},
history: {