]> cat aescling's git repositories - mastodon.git/commit
Change streaming server to treat blank redis password as password-less auth (#14135)
authorThibG <thib@sitedethib.com>
Wed, 24 Jun 2020 20:25:23 +0000 (22:25 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2020 20:25:23 +0000 (22:25 +0200)
commitddcdddd6fcb955ac74d7ed525587ff4c4f2af118
tree384c26575f5e40723758314c565b124f3b64e121
parentbb9ca8a587ee5a3ec8778e72828aca0ba8871327
Change streaming server to treat blank redis password as password-less auth (#14135)

Fixes #14131

Our `mastodon:setup` task defaults to a blank password rather than the
absence of password, but some versions of Redis reject blank password
authentication when authentication is possible without a password.

The Ruby code only uses the Redis password when it's not blank, so
do the same for the node.js part.
streaming/index.js