mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix SSL authentication on Synology stations.
Disables certification verification for SYNO requests; not an ideal fix as a mitm process can be established as a result. However, permits using SSL until a full fix is available.
This commit is contained in:
parent
6d66e21777
commit
068443c4b9
2 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@
|
|||
* Fix issue where PMS text wasn't initialised on the config/notifications page and added info about Plex clients
|
||||
* Add ability to test Plex Server(s) on config/notifications page
|
||||
* Add percentage of episodes downloaded to footer and remove double spaces in text
|
||||
* Fix SSL authentication on Synology stations
|
||||
|
||||
[develop changelog]
|
||||
* Change uT params from unicode to str.format as magnet URLs worked but sending files in POST bodies failed
|
||||
|
|
|
@ -36,7 +36,7 @@ class DownloadStationAPI(GenericClient):
|
|||
auth_url = self.host + 'webapi/auth.cgi?api=SYNO.API.Auth&version=2&method=login&account=' + self.username + '&passwd=' + self.password + '&session=DownloadStation&format=sid'
|
||||
|
||||
try:
|
||||
self.response = self.session.get(auth_url)
|
||||
self.response = self.session.get(auth_url, verify=False)
|
||||
self.auth = self.response.json()['data']['sid']
|
||||
except:
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue