feat(auth): add username sign-in mode and recovery kits (#3215)

This commit is contained in:
Hampus
2026-10-05 14:10:07 +02:00
committed by GitHub
parent bf3d73a5f7
commit e1eecc3b6c
355 changed files with 52138 additions and 24097 deletions
@@ -2258,6 +2258,14 @@ async function verifyInstallerExecution(installerRoot: string): Promise<Array<st
}
}
const withoutEmail = INSTALL_ARGS.filter(
(arg, index) => arg !== '--email' && INSTALL_ARGS[index - 1] !== '--email',
);
const withoutEmailPlan = planned('without --email', withoutEmail);
if (withoutEmailPlan != null && !/^ {2}email\s+admin@x\.example, derived by compose$/mu.test(withoutEmailPlan)) {
problems.push('install.sh without --email does not plan the admin@FLUXER_DOMAIN contact that compose derives');
}
const composeYmlInstance = path.join(sandbox, 'compose-yml-instance');
await mkdir(composeYmlInstance, {recursive: true});
await writeFile(