Browse Source

update userSchema

久保田隼基 8 years ago
parent
commit
f1ce211b14
1 changed files with 1 additions and 0 deletions
  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 },