aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/pod.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/pod.js')
-rw-r--r--server/models/pod.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/models/pod.js b/server/models/pod.js
index 575ebbc61..79afb737a 100644
--- a/server/models/pod.js
+++ b/server/models/pod.js
@@ -35,7 +35,10 @@ module.exports = function (sequelize, DataTypes) {
35 }, 35 },
36 email: { 36 email: {
37 type: DataTypes.STRING(400), 37 type: DataTypes.STRING(400),
38 allowNull: false 38 allowNull: false,
39 validate: {
40 isEmail: true
41 }
39 } 42 }
40 }, 43 },
41 { 44 {