Merge pull request #15756 from Godmartinz/cc-email-array
Some checks are pending
Crowdin Action / upload-sources-to-crowdin (push) Waiting to run
Docker images (Alpine) / docker (push) Waiting to run
Docker images / docker (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Waiting to run
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Waiting to run

changes `admin_cc_email` validation to allow an array
This commit is contained in:
snipe 2024-10-30 19:29:09 +00:00 committed by GitHub
commit 73e8f160cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ class StoreNotificationSettings extends FormRequest
{ {
return [ return [
'alert_email' => 'email_array|nullable', 'alert_email' => 'email_array|nullable',
'admin_cc_email' => 'email|nullable', 'admin_cc_email' => 'email_array|nullable',
'alert_threshold' => 'numeric|nullable|gt:0', 'alert_threshold' => 'numeric|nullable|gt:0',
'alert_interval' => 'numeric|nullable|gt:0', 'alert_interval' => 'numeric|nullable|gt:0',
'audit_warning_days' => 'numeric|nullable|gt:0', 'audit_warning_days' => 'numeric|nullable|gt:0',