Open ajukes opened 8 months ago
The following has been removed from the latest code but we still need to support Redis authentication, not just Sentinal.
// Support legacy app if (process.env.JAMBONES_REDIS_USERNAME && process.env.JAMBONES_REDIS_PASSWORD) { if (Array.isArray(connectionOpts)) { for (const o of opts) { o.username = process.env.JAMBONES_REDIS_USERNAME; o.password = process.env.JAMBONES_REDIS_PASSWORD; } } else { connectionOpts.username = process.env.JAMBONES_REDIS_USERNAME; connectionOpts.password = process.env.JAMBONES_REDIS_PASSWORD; } }
@xquanluu please review the history on this change
Hi guys, still no authentication for standard redis?
if JAMBONES_REDIS_USERNAME & JAMBONES_REDIS_PASSWORD are present, they need to be added to the connectionOpts.
The following has been removed from the latest code but we still need to support Redis authentication, not just Sentinal.