1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-22 10:56:59 +00:00

Merge pull request from sharelatex/ta-remove-emails-default

Remove Emails Attribute on User Model
This commit is contained in:
Timothée Alby 2018-06-06 11:37:17 +02:00 committed by GitHub
commit 5681a76f4c

View file

@ -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 : ''}