Skip to content

Commit

Permalink
Allow domains like .digital
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsyx authored Mar 27, 2019
1 parent 01cf7c9 commit 62d8845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema/Customer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Customer = new mongoose.Schema({
required: true,
lowercase: true,
trim: true,
match: /^([\w-.+]+@([\w-]+\.)+[\w-]{2,6})?$/,
match: /^([\w-.+]+@([\w-]+\.)+[\w-]{2,10})?$/,
},
transactionStartedAt: Date,
lastProcessorSave: Date,
Expand Down

0 comments on commit 62d8845

Please sign in to comment.