fix: remove 3rd party assets from mail (#3569)

This commit is contained in:
Livio Amstutz
2022-05-02 14:41:57 +00:00
committed by GitHub
parent 2e97394246
commit ef6fd5a843
11 changed files with 24 additions and 28 deletions
@@ -41,7 +41,8 @@ func Register(configs Configs,
externalPort uint16,
externalSecure bool,
dir http.FileSystem,
assetsPrefix string,
assetsPrefix,
fileSystemPath string,
userEncryption crypto.EncryptionAlgorithm,
smtpEncryption crypto.EncryptionAlgorithm,
smsEncryption crypto.EncryptionAlgorithm,
@@ -59,6 +60,7 @@ func Register(configs Configs,
externalSecure,
dir,
assetsPrefix,
fileSystemPath,
userEncryption,
smtpEncryption,
smsEncryption,
@@ -59,7 +59,8 @@ func newNotification(
externalPort uint16,
externalSecure bool,
statikDir http.FileSystem,
assetsPrefix string,
assetsPrefix,
fileSystemPath string,
userEncryption crypto.EncryptionAlgorithm,
smtpEncryption crypto.EncryptionAlgorithm,
smsEncryption crypto.EncryptionAlgorithm,
@@ -75,6 +76,7 @@ func newNotification(
smsTokenCrypto: smsEncryption,
externalSecure: externalSecure,
externalPort: externalPort,
fileSystemPath: fileSystemPath,
}
h.subscribe()