mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
0ef62d004f
1 changed files with 2 additions and 7 deletions
|
|
@ -17,14 +17,9 @@ function getClient() {
|
|||
const ssl: { ssl?: tls.ConnectionOptions | boolean; sasl?: SASLOptions | Mechanism } =
|
||||
username && password
|
||||
? {
|
||||
ssl: {
|
||||
checkServerIdentity: () => undefined,
|
||||
ca: [process.env.CA_CERT],
|
||||
key: process.env.CLIENT_KEY,
|
||||
cert: process.env.CLIENT_CERT,
|
||||
},
|
||||
ssl: true,
|
||||
sasl: {
|
||||
mechanism: 'plain',
|
||||
mechanism: 'scram-sha-256',
|
||||
username,
|
||||
password,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue