Skip to content

Commit

Permalink
Fasle
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jun 7, 2024
1 parent 4b0bdd6 commit 518940c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HinetPy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def login(self, user, password):
self.session = requests.Session()
self.session.mount(self._HINET, AddedCipherAdapter())
self.session.mount(self._AUTH, AddedCipherAdapter())
self.session.get(self._AUTH, timeout=self.timeout) # get cookie
self.session.get(self._AUTH, timeout=self.timeout, verify=False) # get cookie
resp = self.session.post(
self._AUTH,
data={"auth_un": self.user, "auth_pw": self.password},
Expand Down

0 comments on commit 518940c

Please sign in to comment.