diff --git a/README.md b/README.md index c696146392bcf544b89af71eef5ddedf70f4d71b..f35489b5619acaf24fc3159c6436760d4617cc2f 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ This connector uses [cozy-konnector-libs](https://github.com/cozy/cozy-konnector ### Maintainer -The lead maintainers for this konnector is Nicolas Pernoud +The lead maintainer for this konnector is Métropole de Lyon ### Get in touch diff --git a/manifest.konnector b/manifest.konnector index e7188399770944f04d017390ab7c93f909cbaa4d..1d66fe1eed5511871d482c8ccd881bcffae6e42c 100644 --- a/manifest.konnector +++ b/manifest.konnector @@ -68,7 +68,7 @@ }, "en": { "short_description": "Load profile from Enedis website", - "long_description": "This connector fetch the electrical load profile recorded by the Linky electricity meter", + "long_description": "This connector fetches the electrical load profile recorded by the Linky electricity meter", "permissions": { "load profile": { "description": "The load profile recorded by Linky" diff --git a/src/index.js b/src/index.js index 95784a01016770428a95dfdd66ea7549e7ef8d76..9aebf7918a2adb85caa825710ab40ba87c61b4d5 100644 --- a/src/index.js +++ b/src/index.js @@ -50,6 +50,7 @@ function authenticate(login, password) { Host: 'espace-client-connexion.enedis.fr', 'Content-Type': 'application/x-www-form-urlencoded' }, + // encoded URI of password is inserted directly in the body, otherwise "!" character is misinterpreted body: 'IDToken1=' + encodeURI(login) +