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:15 UTC

(iotdb) branch fix_C++_default_authentication_133 created (now fc8fc7a1893)

This is an automated email from the ASF dual-hosted git repository.

jiangtian pushed a change to branch fix_C++_default_authentication_133
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at fc8fc7a1893 Fix default authentication of C++ Client

This branch includes the following new commits:

     new fc8fc7a1893 Fix default authentication of C++ Client

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iotdb) 01/01: Fix default authentication of C++ Client

Posted by ji...@apache.org.
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();