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

Do not use plainAuth when no user or password. Fixes #3320 #3321

Closed yonas closed 5 days ago

yonas commented 1 week ago

Description

Do not use plainAuth when no user or password.

closes #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).

tsmethurst commented 5 days ago

Heya, thanks for this! I've taken the commit into https://github.com/superseriousbusiness/gotosocial/pull/3332 and included some formatting changes too, so I'll close this :)