From 898275ec05c280a1bdfdafc3d217aef0bd74553f Mon Sep 17 00:00:00 2001 From: isaacclad Date: Mon, 13 Jul 2026 13:45:41 +0000 Subject: [PATCH] Validate Bird credentials against bird.ladill.com, not the monolith. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keys issued on Bird live in Bird’s DB; the old ladill.com relay always returned Invalid or missing API key. Co-authored-by: Cursor --- .env.example | 4 ++-- config/smtp.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index e2763af..9ba406b 100644 --- a/.env.example +++ b/.env.example @@ -51,9 +51,9 @@ SMS_CUSTOMER_RELAY_URL=https://ladill.com/api/sms SMS_DEFAULT_SENDER_ID=Ladill # Ladill Bird / SMTP (patient email uses customer keys via Integrations) -SMTP_PLATFORM_API_URL=https://ladill.com/api/smtp +SMTP_PLATFORM_API_URL=https://bird.ladill.com/api/smtp SMTP_API_KEY_CARE= -SMTP_CUSTOMER_RELAY_URL=https://ladill.com/api/smtp +SMTP_CUSTOMER_RELAY_URL=https://bird.ladill.com/api/smtp CARE_SMTP_FROM=care@ladill.com CARE_SMTP_FROM_NAME="Ladill Care" diff --git a/config/smtp.php b/config/smtp.php index 580eaf7..1e1a83d 100644 --- a/config/smtp.php +++ b/config/smtp.php @@ -1,9 +1,9 @@ env('SMTP_PLATFORM_API_URL', 'https://ladill.com/api/smtp'), + 'platform_api_url' => env('SMTP_PLATFORM_API_URL', 'https://bird.ladill.com/api/smtp'), 'platform_api_key' => env('SMTP_API_KEY_CARE'), - 'customer_relay_url' => env('SMTP_CUSTOMER_RELAY_URL', 'https://ladill.com/api/smtp'), + 'customer_relay_url' => env('SMTP_CUSTOMER_RELAY_URL', 'https://bird.ladill.com/api/smtp'), 'from' => env('CARE_SMTP_FROM', 'care@ladill.com'), 'from_name' => env('CARE_SMTP_FROM_NAME', 'Ladill Care'), ];