浏览代码

Merge pull request #3567 from tomzx/patch-1

Minor fix to the HTTP Basic Authentication documentation
Jordi Boggiano 10 年之前
父节点
当前提交
a422d67e27
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/articles/http-basic-authentication.md

+ 2 - 2
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"
         }
-    ]
+    }
 }
 ```