registration debug

This commit is contained in:
Flatlogic Bot 2026-03-24 07:16:13 +00:00
parent 16cb6e8b9f
commit 4167b44e71

View File

@ -197,7 +197,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { validate_csrf_token();
if (stripos($e->getMessage(), 'Duplicate entry') !== false) {
$errors[] = t('error_email_exists');
} else {
$errors[] = t('error_registration_failed');
$errors[] = t('error_registration_failed') . ' (' . $e->getMessage() . ')';
}
}
}