You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2024/09/02 02:02:16 UTC
(iotdb) 01/01: Fix default authentication of C++ Client
This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch fix_C++_default_authentication_133
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit fc8fc7a18938793e59ddcf880b339d189ab171bd
Author: Tian Jiang <jt...@163.com>
AuthorDate: Sat Aug 31 14:10:24 2024 +0800
Fix default authentication of C++ Client
(cherry picked from commit 7a36d9a7927f58d6fc09ca2cd5af40675b327bf1)
---
iotdb-client/client-cpp/src/main/Session.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iotdb-client/client-cpp/src/main/Session.h b/iotdb-client/client-cpp/src/main/Session.h
index 56418ebcec2..d6c3bfc9a23 100644
--- a/iotdb-client/client-cpp/src/main/Session.h
+++ b/iotdb-client/client-cpp/src/main/Session.h
@@ -1004,7 +1004,7 @@ private:
void initZoneId();
public:
- Session(const std::string &host, int rpcPort) : username("user"), password("password"), version(Version::V_1_0) {
+ Session(const std::string &host, int rpcPort) : username("root"), password("root"), version(Version::V_1_0) {
this->host = host;
this->rpcPort = rpcPort;
initZoneId();