久保田隼基 před 8 roky
rodič
revize
f1ce211b14
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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 },