1
0
Fork 0

Update example for auth.json in BitBucket config

Remove the `config` level
pull/7419/head
Nathan Purcell 2018-06-21 09:02:29 +01:00 committed by GitHub
parent 837ad7c14e
commit dcdef95785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -305,7 +305,6 @@ After creating an OAuth consumer in the BitBucket control panel, you need to set
the credentials like this (more info [here](https://getcomposer.org/doc/06-config.md#bitbucket-oauth)): the credentials like this (more info [here](https://getcomposer.org/doc/06-config.md#bitbucket-oauth)):
```json ```json
{ {
"config": {
"bitbucket-oauth": { "bitbucket-oauth": {
"bitbucket.org": { "bitbucket.org": {
"consumer-key": "myKey", "consumer-key": "myKey",
@ -313,7 +312,6 @@ the credentials like this (more info [here](https://getcomposer.org/doc/06-confi
} }
} }
} }
}
``` ```
**Note that the repository endpoint needs to be https rather than git.** **Note that the repository endpoint needs to be https rather than git.**