mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Minor fix to the HTTP Basic Authentication documentation
Replaced JSON array with JSON object since you cannot assign key values in an array.
This commit is contained in:
parent
60ac971419
commit
6b5a531782
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ username/password pairs, for example:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"basic-auth": [
|
"basic-auth": {
|
||||||
"repo.example1.org": {
|
"repo.example1.org": {
|
||||||
"username": "my-username1",
|
"username": "my-username1",
|
||||||
"password": "my-secret-password1"
|
"password": "my-secret-password1"
|
||||||
|
@ -49,7 +49,7 @@ username/password pairs, for example:
|
||||||
"username": "my-username2",
|
"username": "my-username2",
|
||||||
"password": "my-secret-password2"
|
"password": "my-secret-password2"
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue