You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/03/23 09:58:57 UTC
[iotdb] 01/01: Fix execution succeed without correct password by python api
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch fix_python_auth
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 9efce2515880f1385299d8be0083f1c899d2e267
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Mar 23 17:57:58 2023 +0800
Fix execution succeed without correct password by python api
---
client-py/iotdb/Session.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client-py/iotdb/Session.py b/client-py/iotdb/Session.py
index cd5a12f67f..846dbd3c04 100644
--- a/client-py/iotdb/Session.py
+++ b/client-py/iotdb/Session.py
@@ -165,7 +165,7 @@ class Session(object):
try:
open_resp = self.__client.openSession(open_req)
-
+ Session.verify_success(open_resp.status)
if self.protocol_version != open_resp.serverProtocolVersion:
logger.exception(
"Protocol differ, Client version is {}, but Server version is {}".format(