Skip to content
Snippets Groups Projects
Commit 68c9cb42 authored by i-vall's avatar i-vall
Browse files

feat: documentation

parent f5fe857e
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ This connector uses [cozy-konnector-libs](https://github.com/cozy/cozy-konnector ...@@ -63,7 +63,7 @@ This connector uses [cozy-konnector-libs](https://github.com/cozy/cozy-konnector
### Maintainer ### Maintainer
The lead maintainers for this konnector is Nicolas Pernoud The lead maintainer for this konnector is Métropole de Lyon
### Get in touch ### Get in touch
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
}, },
"en": { "en": {
"short_description": "Load profile from Enedis website", "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": { "permissions": {
"load profile": { "load profile": {
"description": "The load profile recorded by Linky" "description": "The load profile recorded by Linky"
......
...@@ -50,6 +50,7 @@ function authenticate(login, password) { ...@@ -50,6 +50,7 @@ function authenticate(login, password) {
Host: 'espace-client-connexion.enedis.fr', Host: 'espace-client-connexion.enedis.fr',
'Content-Type': 'application/x-www-form-urlencoded' 'Content-Type': 'application/x-www-form-urlencoded'
}, },
// encoded URI of password is inserted directly in the body, otherwise "!" character is misinterpreted
body: body:
'IDToken1=' + 'IDToken1=' +
encodeURI(login) + encodeURI(login) +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment