mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
feat(auth): add username sign-in mode and recovery kits (#3215)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user