From 6b5a531782fbfe837e0dcf7e5bc801e095fbcf00 Mon Sep 17 00:00:00 2001 From: tomzx Date: Wed, 17 Dec 2014 21:11:36 -0500 Subject: [PATCH] Minor fix to the HTTP Basic Authentication documentation Replaced JSON array with JSON object since you cannot assign key values in an array. --- doc/articles/http-basic-authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/articles/http-basic-authentication.md b/doc/articles/http-basic-authentication.md index af62fe2df..1add2d7a6 100644 --- a/doc/articles/http-basic-authentication.md +++ b/doc/articles/http-basic-authentication.md @@ -40,7 +40,7 @@ username/password pairs, for example: ```json { - "basic-auth": [ + "basic-auth": { "repo.example1.org": { "username": "my-username1", "password": "my-secret-password1" @@ -49,7 +49,7 @@ username/password pairs, for example: "username": "my-username2", "password": "my-secret-password2" } - ] + } } ```