Beautiful Open-Source Form Builder
Update logging channel for risky user detection in EmailIntegration handler (#952)
Chirag Chhatralaf78ed5dce9e0
diff --git a/api/app/Integrations/Handlers/EmailIntegration.php b/api/app/Integrations/Handlers/EmailIntegration.phpindex 15f0c2697..f779ee494 100644--- a/api/app/Integrations/Handlers/EmailIntegration.php+++ b/api/app/Integrations/Handlers/EmailIntegration.php@@ -88,7 +88,7 @@ class EmailIntegration extends AbstractIntegrationHandler// This is a per-workspace limit for risky workspacesif ($this->form->workspace->is_risky) {if ($this->form->workspace->submissions_count >= self::RISKY_USERS_LIMIT) {- Log::channel('slack_errors')->error('🚨 Dangerous new user detected! Attempting many email sending.', [+ Log::channel('slack_alerts')->error('🚨 Dangerous new user detected! Attempting many email sending.', ['form_id' => $this->form->id,'workspace_id' => $this->form->workspace->id,]);