feat(user migration): user migration to the new app with a default password that will force reset

This commit is contained in:
2025-10-29 17:01:03 -05:00
parent c6f766089b
commit 006ec1bfc0
9 changed files with 127 additions and 24 deletions

View File

@@ -9,6 +9,7 @@ import morgan from "morgan";
import os from "os";
import { dirname, join } from "path";
import { fileURLToPath } from "url";
import { userMigrate } from "./src/internal/auth/controller/userMigrate.js";
import { schedulerManager } from "./src/internal/logistics/controller/schedulerManager.js";
import { printers } from "./src/internal/ocp/printers/printers.js";
import { setupRoutes } from "./src/internal/routerHandler/routeHandler.js";
@@ -188,6 +189,7 @@ const main = async () => {
// start up the v1listener
v1Listener();
userMigrate();
}, 5 * 1000);
// start the server up