Do not prevent peertube from running

Since it's an option that can be set in web admin, it can be difficult
to change it. Prefer logging an error instead
This commit is contained in:
Chocobozzz
2026-05-20 08:54:38 +02:00
parent 630f0599a8
commit 3873c49946
@@ -150,7 +150,7 @@ function checkSecretsConfig () {
function checkEmailConfig () {
if (!isEmailEnabled()) {
if (CONFIG.SIGNUP.ENABLED && CONFIG.SIGNUP.REQUIRES_EMAIL_VERIFICATION) {
throw new Error('SMTP is not configured but you require signup email verification.')
logger.error('SMTP is not configured but you require signup email verification.')
}
if (CONFIG.SIGNUP.ENABLED && CONFIG.SIGNUP.REQUIRES_APPROVAL) {