Parcourir la source

Merge pull request #7419 from nathanpurcell/patch-1

Update example for auth.json in BitBucket config
Rob il y a 6 ans
Parent
commit
0c6201de3e
1 fichiers modifiés avec 4 ajouts et 6 suppressions
  1. 4 6
      doc/05-repositories.md

+ 4 - 6
doc/05-repositories.md

@@ -305,12 +305,10 @@ 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)):
 ```json
 {
-    "config": {
-        "bitbucket-oauth": {
-            "bitbucket.org": {
-                "consumer-key": "myKey",
-                "consumer-secret": "mySecret"
-            }
+    "bitbucket-oauth": {
+        "bitbucket.org": {
+            "consumer-key": "myKey",
+            "consumer-secret": "mySecret"
         }
     }
 }