fix(redis): use eredis_secret to avoid password leaking
This commit is contained in:
parent
2c458b62f5
commit
fc35c74eab
|
@ -147,7 +147,7 @@ on_start(
|
|||
[
|
||||
{pool_size, PoolSize},
|
||||
{username, maps:get(username, Config, undefined)},
|
||||
{password, maps:get(password, Config, "")},
|
||||
{password, eredis_secret:wrap(maps:get(password, Config, ""))},
|
||||
{auto_reconnect, ?AUTO_RECONNECT_INTERVAL}
|
||||
] ++ Database ++ Servers,
|
||||
Options =
|
||||
|
|
Loading…
Reference in New Issue