Skip to content

Commit

Permalink
fix:Reinitializing the database is required to set up authentication.
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-HUANT committed Jan 9, 2024
1 parent 7965aac commit c4d0f05
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ private static HugeGraph initGraph(String configPath) throws Exception {
LOG.info("Skip init-store due to the backend store of '{}' " +
"had been initialized", graph.name());
backendStoreInfo.checkVersion();
// Initializing the information required for creating the admin account.
graph.initSystemInfo();

Check warning on line 105 in hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java

View check run for this annotation

Codecov / codecov/patch

hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java#L105

Added line #L105 was not covered by tests
} else {
initBackend(graph);
}
Expand Down

0 comments on commit c4d0f05

Please sign in to comment.