久保田隼基 пре 8 година
родитељ
комит
f1ce211b14
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      lib/models/user.js

+ 1 - 0
lib/models/user.js

@@ -29,6 +29,7 @@ module.exports = function(crowi) {
     userId: String,
     image: String,
     isGravatarEnabled: { type: Boolean, default: false },
+    isEmailPublished: { type: Boolean, default: false },
     googleId: String,
     name: { type: String },
     username: { type: String, required: true, unique: true },