Merge pull request #634 from sharelatex/ta-remove-emails-default
Remove Emails Attribute on User Model
This commit is contained in:
@@ -8,10 +8,6 @@ ObjectId = Schema.ObjectId
|
||||
|
||||
UserSchema = new Schema
|
||||
email : {type : String, default : ''}
|
||||
emails: [{
|
||||
email: { type : String, default : '' },
|
||||
createdAt: { type : Date, default: () -> new Date() }
|
||||
}],
|
||||
first_name : {type : String, default : ''}
|
||||
last_name : {type : String, default : ''}
|
||||
role : {type : String, default : ''}
|
||||
|
||||
Reference in New Issue
Block a user