Skip to content
Permalink
Browse files

fix(mailcheck): TLS not being set correctly

  • Loading branch information...
polonel committed Mar 21, 2019
1 parent d119211 commit 40627d0f3fab0cb0e089e1af57b60652084a2a60
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mailer/mailCheck.js
@@ -78,7 +78,7 @@ mailCheck.init = function (settings) {
var MAILERCHECK_USER = s.mailerCheckUsername.value
var MAILERCHECK_PASS = s.mailerCheckPassword.value
var MAILERCHECK_PORT = s.mailerCheckPort.value
var MAILERCHECK_TLS = s.mailerCheckPort.value === '993' ? { value: true } : false
var MAILERCHECK_TLS = s.mailerCheckPort.value === '993'
var POLLING_INTERVAL = s.mailerCheckPolling.value

if (!MAILERCHECK_ENABLED) return true

0 comments on commit 40627d0

Please sign in to comment.
You can’t perform that action at this time.