Make mailServer setting optional

This commit is contained in:
lkisme 2017-02-26 14:25:29 +08:00
parent e441e751d5
commit e3c3cc0d8d

View file

@ -6,18 +6,23 @@ Settings.attachSchema(new SimpleSchema({
},
'mailServer.username': {
type: String,
optional: true,
},
'mailServer.password': {
type: String,
optional: true,
},
'mailServer.host': {
type: String,
optional: true,
},
'mailServer.port': {
type: String,
optional: true,
},
'mailServer.from': {
type: String,
optional: true,
defaultValue: 'Kanban',
},
createdAt: {