fix(redis): use eredis_secret to avoid password leaking

This commit is contained in:
Paulo Zulato 2023-08-14 21:22:31 -03:00
parent 2c458b62f5
commit fc35c74eab
1 changed files with 1 additions and 1 deletions

View File

@ -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 =