mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
Merge pull request #188 from JackDandy/feature/FixSynologyAuthSSL
Fix SSL authentication on Synology stations.
This commit is contained in:
commit
cdb3e660ec
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
|
* 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 ability to test Plex Server(s) on config/notifications page
|
||||||
* Add percentage of episodes downloaded to footer and remove double spaces in text
|
* Add percentage of episodes downloaded to footer and remove double spaces in text
|
||||||
|
* Fix SSL authentication on Synology stations
|
||||||
|
|
||||||
[develop changelog]
|
[develop changelog]
|
||||||
* Change uT params from unicode to str.format as magnet URLs worked but sending files in POST bodies failed
|
* 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'
|
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:
|
try:
|
||||||
self.response = self.session.get(auth_url)
|
self.response = self.session.get(auth_url, verify=False)
|
||||||
self.auth = self.response.json()['data']['sid']
|
self.auth = self.response.json()['data']['sid']
|
||||||
except:
|
except:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in a new issue