mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
use tls SSLv3 to send email, fix #192
This commit is contained in:
parent
56bc50480b
commit
829de697f2
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ export default {
|
|||
computed: mapState(['settings']),
|
||||
watch: {
|
||||
'smtp.secure' (value) {
|
||||
this.smtp.port = value ? 465 : 25
|
||||
this.smtp.port = value ? 465 : 587
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -49,7 +49,7 @@ const mail = {
|
|||
locale,
|
||||
locales: Object.keys(locales)
|
||||
},
|
||||
transport: settings.smtp || {}
|
||||
transport: { ...settings.smtp, tls: { ciphers: 'SSLv3'}, requireTLS: true } || {}
|
||||
})
|
||||
|
||||
const opt = {
|
||||
|
|
Loading…
Reference in a new issue