superseriousbusiness / gotosocial

Fast, fun, small ActivityPub server.
https://docs.gotosocial.org
GNU Affero General Public License v3.0
3.7k stars 316 forks source link

[bugfix/email] Don't use plainAuth when no smtp username/password provided #3332

Closed tsmethurst closed 5 days ago

tsmethurst commented 5 days ago

Description

If this is a code change, please include a summary of what you've coded, and link to the issue(s) it closes/implements.

If this is a documentation change, please briefly describe what you've changed and why.

Same as https://github.com/superseriousbusiness/gotosocial/commit/6783c6057c2dc3d1b27a97487cf1967d3030ba87 but with some formatting fixes.

closes https://github.com/superseriousbusiness/gotosocial/issues/3320

Checklist

Please put an x inside each checkbox to indicate that you've read and followed it: [ ] -> [x]

If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want).