fix: siwn csrf config

This commit is contained in:
veganbeef
2025-07-23 19:23:03 -07:00
parent feb9f3e161
commit ea7ee37e71
5 changed files with 11 additions and 13 deletions

View File

@@ -693,6 +693,7 @@ export async function init(projectName = null, autoAcceptDefaults = false, apiKe
);
}
if (answers.seedPhrase) {
console.log('✅ Writing SEED_PHRASE and NEXTAUTH_SECRET to .env.local');
fs.appendFileSync(envPath, `\nSEED_PHRASE="${answers.seedPhrase}"`);
// Add NextAuth secret for SIWN
fs.appendFileSync(