zzarbi / synology

PHP Implementation of Synology Download Station
MIT License
126 stars 58 forks source link

fix logout, by adding sid #7

Closed Hexren closed 10 years ago

Hexren commented 10 years ago

Logout was not working, because without the sid the synology does not know which session to delete. Without working logout sessions will accumulate until the API is no longer responsive.

Can be verified seen by looking at /usr/syno/etc/private/session/current.users file on the synology.

Personally I think this is an upstream (synology) error for returning 200 on logout requests without sid.

zzarbi commented 10 years ago

Thanks @Hexren