Skip to content

Commit

Permalink
Fix default authentication of C++ Client (#13363)
Browse files Browse the repository at this point in the history
  • Loading branch information
jt2594838 authored Sep 4, 2024
1 parent a43c0e3 commit 271270f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iotdb-client/client-cpp/src/main/Session.h
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ class Session {
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();
Expand Down

0 comments on commit 271270f

Please sign in to comment.