Make mailServer setting optional

reviewable/pr871/r3
lkisme 8 years ago
parent e441e751d5
commit e3c3cc0d8d
  1. 5
      models/settings.js

@ -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: {

Loading…
Cancel
Save