Skip to content
Snippets Groups Projects
Commit 69dfac7a authored by SNA's avatar SNA
Browse files

FIX #1178 cast bool auth not working

parent 764f77c1
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ while ($state <> 'END') {
$host = (string)$mailerParams->smtp_host,
$port = (string)$mailerParams->smtp_port,
$helo = (string)$mailerParams->domains,
$auth = (bool)$mailerParams->smtp_auth,
$auth = filter_var($mailerParams->smtp_auth, FILTER_VALIDATE_BOOLEAN),
$user = (string)$mailerParams->smtp_user,
$pass = (string)$mailerParams->smtp_password
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment