diff --git a/src/box/lua/load_cfg.lua b/src/box/lua/load_cfg.lua
index e9cd739f429e0ae5cc83540c0e9510d8c11ed8dd..be94726d1f5d7cbaa885b6cced69ebb559f84780 100644
--- a/src/box/lua/load_cfg.lua
+++ b/src/box/lua/load_cfg.lua
@@ -127,7 +127,7 @@ local function purge_password_from_uris(uri)
     if type(uri) == 'table' then
         local new_table = {}
         for k, v in pairs(uri) do
-            new_table[k] = purge_password_from_uri(uri)
+            new_table[k] = purge_password_from_uri(v)
         end
         return new_table
     end