Commit e9bc4761 authored by Michael Tross's avatar Michael Tross

also set the client secret id property upon registration

parent 6f76e308
......@@ -397,6 +397,7 @@ var vdc_check_auth = function(device)
query: "setProperty(deviceId=" + g_auth.dSUID + ")/" +
"(x-netatmo-refresh_token=\"" + g_auth.refresh_token + "\")" +
",(x-netatmo-refresh_timeout=\"" + g_auth.refresh_timeout + "\")" +
",(x-netatmo-client_secret=\"" + g_client_secret + "\")" +
",(x-netatmo-access_token=\"" + g_auth.access_token + "\")"
},
callback).fail(vdc_request_failed);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment