aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/user.js')
-rw-r--r--server/models/user.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/user.js b/server/models/user.js
index 35a98dd6b..24e710fa7 100644
--- a/server/models/user.js
+++ b/server/models/user.js
@@ -33,7 +33,7 @@ module.exports = function (sequelize, DataTypes) {
33 } 33 }
34 }, 34 },
35 email: { 35 email: {
36 type: DataTypes.STRING, 36 type: DataTypes.STRING(400),
37 allowNull: false, 37 allowNull: false,
38 validate: { 38 validate: {
39 isEmail: true 39 isEmail: true