feat: dashboard Second Brain, essai 7 jours et vérification e-mail
Rendre le dashboard actionnable (inbox, peek, carte mentale), aligner la facturation sur l’essai 7 jours, et bloquer le login e-mail tant que l’adresse n’est pas confirmée. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -197,8 +197,9 @@ export function validateConfig() {
|
||||
}
|
||||
}
|
||||
|
||||
// Port validation
|
||||
const portValidation = validatePort(config.port);
|
||||
// Port validation (check raw value before clamping)
|
||||
const rawPort = Number.parseInt(env('PORT', '3001'), 10);
|
||||
const portValidation = validatePort(Number.isNaN(rawPort) ? config.port : rawPort);
|
||||
if (!portValidation.valid) {
|
||||
errors.push({ key: 'PORT', message: portValidation.error, critical: true });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user