From 2b02eac5c33371d87373f09c80960a53aad12554 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Tue, 24 Apr 2018 14:41:56 +0200 Subject: [PATCH] doc: fix basic_auth_credentials format in config `basic_auth_credentials` in `api` part of the config accepts a map, with username as key and password as value. License: MIT Signed-off-by: Sina Mahmoodi --- docs/ipfs-cluster-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ipfs-cluster-guide.md b/docs/ipfs-cluster-guide.md index 3cd128c8..4e06541a 100644 --- a/docs/ipfs-cluster-guide.md +++ b/docs/ipfs-cluster-guide.md @@ -108,9 +108,9 @@ Each section of the configuration file and the options in it depend on their ass "read_header_timeout": "5s", "write_timeout": "1m0s", "idle_timeout": "2m0s", - "basic_auth_credentials": [ // Leave null for no-basic-auth + "basic_auth_credentials": { // Leave null for no-basic-auth "user": "pass" - ] + } } }, "ipfs_connector": {