Skip to content

Commit

Permalink
fix(server): reinitialize the progress to set up graph auth friendly (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-HUANT authored and VGalaxies committed Jan 17, 2024
1 parent 94a7932 commit 12ff915
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ 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();
/*
* Init the required information for creating the admin account
* (when switch from non-auth mode to auth mode)
*/
graph.initSystemInfo();
} else {
initBackend(graph);
}
Expand Down

0 comments on commit 12ff915

Please sign in to comment.