fix(server): reinitialize the progress to set up graph auth friendly (#2411)

This commit is contained in:
Z-HUANT 2024-01-17 20:56:25 +08:00 committed by VGalaxies
parent 94a79326ea
commit 12ff9154ab
1 changed files with 5 additions and 0 deletions

View File

@ -101,6 +101,11 @@ public class InitStore {
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);
}