phoenix_pubsub_redis icon indicating copy to clipboard operation
phoenix_pubsub_redis copied to clipboard

Allow Redis URL to just have a password and no username

Open nicolasblanco opened this issue 5 months ago • 0 comments

I have run into an issue where my Redis server has a password but no username. As this is a managed Redis instance over which I don't have any control, I'm not able to change this setup or set a username.

The issue is that in that case the Redis connection is still created with username being an empty String and the connection to the server fails.

This small change fixes this use case by only creating a connection with a password.

nicolasblanco avatar Sep 21 '24 19:09 nicolasblanco