diff --git a/db/validations.go b/db/validations.go index a64f1a4..24136cc 100644 --- a/db/validations.go +++ b/db/validations.go @@ -55,7 +55,7 @@ var organizationInvitesCollectionValidator = bson.M{ "newUserEmail": bson.M{ "bsonType": "string", "description": "must be an email and is required", - "pattern": `^[\w.\-]+@([\w\-]+\.)+[\w]{2,}$`, + "pattern": `^[\w.\+\.\-]+@([\w\-]+\.)+[\w]{2,}$`, }, "expiration": bson.M{ "bsonType": "date",