mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user