We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9bec29 commit 1658b9aCopy full SHA for 1658b9a
src/Surfnet/StepupMiddleware/CommandHandlingBundle/Identity/Service/RegistrationMailService.php
@@ -127,7 +127,7 @@ public function sendRegistrationEmailWithRas(
127
$message = new TemplatedEmail();
128
$message
129
->from(new Address($this->sender->getEmail(), $this->sender->getName()))
130
- ->to(new Address($email->getEmail(), $commonName->getCommonName()))
+ ->to(new Address($email, $commonName))
131
->subject($subject)
132
->htmlTemplate('@SurfnetStepupMiddlewareCommandHandling/SecondFactorMailService/email.html.twig')
133
->context($parameters);
0 commit comments