Upgrade wms-core and use new email settings

This commit is contained in:
Alice Gaudon 2020-06-27 18:08:24 +02:00
parent 27cbe9a818
commit ddf40ef9a5
4 changed files with 14 additions and 4 deletions

View File

@ -24,6 +24,12 @@ export default Object.assign(require("wms-core/config/default").default, {
max_upload_size: 1, // MB
approval_mode: false,
mail: {
host: "127.0.0.1",
port: "1025",
secure: false,
username: "",
password: "",
allow_invalid_tls: true,
from: 'contact@ily.li',
from_name: 'ily.li',
},

View File

@ -17,4 +17,8 @@ export default Object.assign(require("wms-core/config/production").default, {
default_file_ttl: 30 * 24 * 3600, // 30 days
max_upload_size: 8192, // MB
approval_mode: true,
mail: {
secure: true,
allow_invalid_tls: false
},
});

View File

@ -2,7 +2,7 @@
{% import 'macros.njk' as macros %}
{% set title = 'Authentication / Registration' %}
{% set decription = 'Join Watch My Stream and power up your streams!' %}
{% set decription = 'Join ' + app.name + ' and share your files!' %}
{% set h1 = 'Authentication and registration' %}
{% block body %}

View File

@ -9825,9 +9825,9 @@ widest-line@^3.1.0:
string-width "^4.0.0"
wms-core@^0:
version "0.10.16"
resolved "https://registry.toot.party/wms-core/-/wms-core-0.10.16.tgz#55dc66d6443b2cab82f0bfb7db9673d4ab07c45e"
integrity sha512-NY4PKzcf9rEWmYznTR9qI+CofW7Bfut+djCBQ/GBVzEI/tW9RAudtLhfYrYvHJYPOyLWMdoP7KNxROyt37TzLg==
version "0.10.18"
resolved "https://registry.toot.party/wms-core/-/wms-core-0.10.18.tgz#450bf5be19f1a5872230199b04353169e3cfe2aa"
integrity sha512-x4+FgnfovJHLpAKYKmh5+rM9Zovklya8mZC+KnrQ65y2v3vw3i9hDRjXeums5OvyQsBA7X4OObEffTbClLNCTQ==
dependencies:
"@types/express" "^4.17.6"
"@types/express-session" "^1.17.0"