mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Allow to control emails prefix and signature with config (#1789)
* Allow to control emails prefix and signature with config * Adapt email config according to @Chocobozzz review
This commit is contained in:
committed by
Chocobozzz
parent
3daaa19274
commit
b5bfadf0b5
@@ -44,6 +44,14 @@ const CONFIG = {
|
||||
CA_FILE: config.get<string>('smtp.ca_file'),
|
||||
FROM_ADDRESS: config.get<string>('smtp.from_address')
|
||||
},
|
||||
EMAIL: {
|
||||
BODY: {
|
||||
SIGNATURE: config.get<string>('email.body.signature')
|
||||
},
|
||||
OBJECT: {
|
||||
PREFIX: config.get<string>('email.object.prefix') + ' '
|
||||
}
|
||||
},
|
||||
STORAGE: {
|
||||
TMP_DIR: buildPath(config.get<string>('storage.tmp')),
|
||||
AVATARS_DIR: buildPath(config.get<string>('storage.avatars')),
|
||||
|
||||
Reference in New Issue
Block a user