]> BookStack Code Mirror - bookstack/commit
Allow a user to disable peer check when using TLS/STARTTLS 4126/head
authorVincent Bernat <redacted>
Fri, 24 Mar 2023 08:34:37 +0000 (09:34 +0100)
committerVincent Bernat <redacted>
Fri, 24 Mar 2023 08:34:37 +0000 (09:34 +0100)
commitf2293a70f80a13231aea07c1fc24f14f3fc393f9
tree75de9059e29a71930fe6b5fab588d9675453baf0
parent9b66e93b151276ca1da1a10f66c78c8ba68730ed
Allow a user to disable peer check when using TLS/STARTTLS

This is useful when developing and on Docker setups. Despite setting
encryption to null, if a server supports STARTTLS with a self-signed
certificate, the mailer try to upgrade the connection with STARTTLS.
.env.example.complete
app/Config/mail.php