fix: finish 2.9.0 plugin moves and get every check green

This commit is contained in:
LukeGus committed 2026-09-24 23:35:18 -05:00
1 parent 8c1e02af89
commit 6489b62ece
335 files changed
+29878 -17749

No files matched your search

+7
View File
@@ -232,6 +232,13 @@ export async function runLogin(
const user = await resolveUser(identity, deviceType);
await unlockUser(user, identity, deviceType);
if ("password" in identity && identity.password) {
// A 2.8 key still wrapped by the password only opens here, so this is the
// first chance to move that user's TOTP secret into the plugin.
const { runTotpMigration } =
await import("../utils/crypto-migration/totp-migration.js");
await runTotpMigration(user.id);
}
await syncSharedCredentialsForUserRoles(
user.id,
`${context.methodId}_role_shared_credentials`,