소스 검색

update userSchema

久保田隼基 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 },