فهرست منبع

Minor fix to the HTTP Basic Authentication documentation

Replaced JSON array with JSON object since you cannot assign key values in an array.
tomzx 10 سال پیش
والد
کامیت
6b5a531782
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"
         }
-    ]
+    }
 }
 ```