Skip to content

Commit

Permalink
for self-hosted ignore emil validation for spam
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragchhatrala committed Dec 10, 2024
1 parent 01f7fa2 commit 458bcbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/Integrations/Handlers/EmailIntegration.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function getValidationRules(?Form $form): array
'reply_to' => 'nullable',
];

if ($form->is_pro) {
if ($form->is_pro || config('app.self_hosted')) {
return $rules;
}

Expand Down

0 comments on commit 458bcbe

Please sign in to comment.