Skip to content

Commit 64907bd

Browse files
committed
Fix for SSl Verify Error on login
1 parent 2ec2a5e commit 64907bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from os import path
1919

2020
NAME = "tb-rest-client"
21-
VERSION = "1.1.0"
21+
VERSION = "1.1.1"
2222
REQUIRES = [
2323
"certifi>=2017.4.17",
2424
"python-dateutil>=2.1",

tb_rest_client/rest_client_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def login(self, username, password):
7979
self.password = password
8080
self.logged_in = True
8181

82-
token_json = post(self.base_url + "/api/auth/login", json={"username": username, "password": password}).json()
82+
token_json = post(self.base_url + "/api/auth/login", json={"username": username, "password": password}, verify = self.configuration.verify_ssl).json()
8383
token = None
8484
if isinstance(token_json, dict) and token_json.get("token") is not None:
8585
token = token_json["token"]

0 commit comments

Comments
 (0)