diff options
author | lkisme <lkisme@me.com> | 2017-02-26 14:25:29 +0800 |
---|---|---|
committer | lkisme <lkisme@me.com> | 2017-02-26 14:25:29 +0800 |
commit | e3c3cc0d8df14c84852a854383efa1b4bb83f218 (patch) | |
tree | 64fd16fd8e842681137937e48323d887a5cc3156 /models | |
parent | e441e751d5e58fcf75758f3c47746f627e18dc55 (diff) | |
download | wekan-e3c3cc0d8df14c84852a854383efa1b4bb83f218.tar.gz wekan-e3c3cc0d8df14c84852a854383efa1b4bb83f218.tar.bz2 wekan-e3c3cc0d8df14c84852a854383efa1b4bb83f218.zip |
Make mailServer setting optional
Diffstat (limited to 'models')
-rw-r--r-- | models/settings.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/models/settings.js b/models/settings.js index 77bf8d24..b160c2a4 100644 --- a/models/settings.js +++ b/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: { |