mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-10-08 01:42:05 +00:00
Update ssl
Allow to disable verification for self signed cert.
This commit is contained in:
parent
83ea76d7eb
commit
bec267bfe4
2 changed files with 3 additions and 8 deletions
|
@ -70,7 +70,6 @@ class UserClient(threading.Thread):
|
|||
return True
|
||||
except Exception as error:
|
||||
# Server connection failed
|
||||
log.error(error)
|
||||
return False
|
||||
|
||||
@classmethod
|
||||
|
@ -80,11 +79,7 @@ class UserClient(threading.Thread):
|
|||
True: Verify ssl
|
||||
False: Don't verify connection
|
||||
"""
|
||||
certificate = settings('sslcert')
|
||||
if certificate != "None":
|
||||
return certificate
|
||||
|
||||
return True if settings('sslverify') == "true" else False
|
||||
return settings('sslverify') == "true"
|
||||
|
||||
def get_access(self):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue