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': { 'mailServer.username': {
type: String, type: String,
optional: true,
}, },
'mailServer.password': { 'mailServer.password': {
type: String, type: String,
optional: true,
}, },
'mailServer.host': { 'mailServer.host': {
type: String, type: String,
optional: true,
}, },
'mailServer.port': { 'mailServer.port': {
type: String, type: String,
optional: true,
}, },
'mailServer.from': { 'mailServer.from': {
type: String, type: String,
optional: true,
defaultValue: 'Kanban', defaultValue: 'Kanban',
}, },
createdAt: { createdAt: {