jordenc / com.synology.surveillance

Control Synology Surveillance Station from Homey
4 stars 0 forks source link

Login function overwrites session option #3

Closed zidodiz closed 5 years ago

zidodiz commented 6 years ago

Hi,

The login function in driver initiates the session option parameter twice. The session parameter should have the value 'SurveillanceStation' to not have to grant DSM (desktop) app privileges to the account in question. It is overwritten by ''NodeSynologyAPI' + Math.round(Math.random() * 1e9),' which is not specified in the WebAPI.

Br,

/Henks

jordenc commented 5 years ago

Sorry for my late reply; you are completely correct. This is fixed in the next version.