mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Correct typo in Redis settings
The typo prevents authentication to passworded instances.
This commit is contained in:
parent
9d070a0f59
commit
0ad4a6f036
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class GlobalSetting
|
|||
c = {}
|
||||
c[:host] = redis_host if redis_host
|
||||
c[:port] = redis_port if redis_port
|
||||
c[:password] = redis_host if redis_password.present?
|
||||
c[:password] = redis_password if redis_password.present?
|
||||
c[:db] = redis_db if redis_db != 0
|
||||
c[:db] = 1 if Rails.env == "test"
|
||||
if redis_sentinels.present?
|
||||
|
|
Loading…
Reference in a new issue