fix: 修复系统一致性与安全问题

This commit is contained in:
que01 committed 2026-10-14 17:36:46 +08:00
1 parent aaeec14733
commit f158f906d5
19 files changed
+194 -34

No files matched your search

+4
View File
@@ -46,6 +46,10 @@ async function main() {
initialReleases,
"Repeated seed must preserve release history and snapshots",
);
await fixtureDatabase.adminUser.updateMany({
where: { username: "admin" },
data: { mustChangePassword: false },
});
console.log("Seed idempotency verified: content, forms and release history preserved");
status = run(process.execPath, ["--test", "test/http.integration.test.js"]);
return status;