From 645e6da2ce6e12a8259811838bbc7d7669a84347 Mon Sep 17 00:00:00 2001 From: Luis Galeas Date: Fri, 20 Sep 2024 23:51:06 +0100 Subject: [PATCH] Avoid sending emails for now --- .../SendPrimaryEmailVerificationReactor.php | 13 +++++++------ infrastructure/templates/pgt-proxy/Dockerfile | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/application/monorepo_for_all_services/code/src/BoundedContext/Identity/User/Reaction/SendPrimaryEmailVerification/SendPrimaryEmailVerificationReactor.php b/application/monorepo_for_all_services/code/src/BoundedContext/Identity/User/Reaction/SendPrimaryEmailVerification/SendPrimaryEmailVerificationReactor.php index 0f1a544a..77752b0e 100644 --- a/application/monorepo_for_all_services/code/src/BoundedContext/Identity/User/Reaction/SendPrimaryEmailVerification/SendPrimaryEmailVerificationReactor.php +++ b/application/monorepo_for_all_services/code/src/BoundedContext/Identity/User/Reaction/SendPrimaryEmailVerification/SendPrimaryEmailVerificationReactor.php @@ -57,12 +57,13 @@ public function react(Event $event): void $fromEmailAddress = "system.development-application.example.com"; $subjectLine = "Your Verification Code"; $emailContents = "This is your verification code: https://example.com/page/?verificationCode=" . $verificationCode; - $this->emailer->send( - $sendToEmailAddress, - $subjectLine, - $emailContents, - $fromEmailAddress - ); +// We're not sending emails for now +// $this->emailer->send( +// $sendToEmailAddress, +// $subjectLine, +// $emailContents, +// $fromEmailAddress +// ); $aggregateAndEventIds = $this->eventStore->find($existingReaction->aggregateId()->id()); if (null === $aggregateAndEventIds) { diff --git a/infrastructure/templates/pgt-proxy/Dockerfile b/infrastructure/templates/pgt-proxy/Dockerfile index 62d66e32..c7a49fea 100644 --- a/infrastructure/templates/pgt-proxy/Dockerfile +++ b/infrastructure/templates/pgt-proxy/Dockerfile @@ -1,4 +1,4 @@ -FROM ambarltd/pgt-proxy:v1.0.2 +FROM ambarltd/pgt-proxy:v1.1 COPY trust_this_ca.pem /etc/pgt_proxy/client_tls/custom_cas/