Do not allow insecure HTTPS websocket connections for Kodi Leia in any case
This commit is contained in:
parent
7b21caceae
commit
0e16eb703a
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class PMS_Websocket(WebSocket):
|
||||||
if app.ACCOUNT.plex_token:
|
if app.ACCOUNT.plex_token:
|
||||||
uri += '?X-Plex-Token=%s' % app.ACCOUNT.plex_token
|
uri += '?X-Plex-Token=%s' % app.ACCOUNT.plex_token
|
||||||
sslopt = {}
|
sslopt = {}
|
||||||
if utils.settings('sslverify') == "false":
|
if v.KODIVERSION == 17 and utils.settings('sslverify') == "false":
|
||||||
sslopt["cert_reqs"] = CERT_NONE
|
sslopt["cert_reqs"] = CERT_NONE
|
||||||
LOG.debug("%s: Uri: %s, sslopt: %s",
|
LOG.debug("%s: Uri: %s, sslopt: %s",
|
||||||
self.__class__.__name__, uri, sslopt)
|
self.__class__.__name__, uri, sslopt)
|
||||||
|
|
Loading…
Reference in a new issue