Fix render called on string

This commit is contained in:
Jake Barnby 2023-08-28 20:06:34 -04:00
parent ece93a14e5
commit 08ab9b016e
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -1136,7 +1136,7 @@ App::post('/v1/account/sessions/magic-url')
$mails
->setSubject($subject)
->setBody($body->render())
->setBody($body)
->setVariables($emailVariables)
->setFrom($from)
->setRecipient($user->getAttribute('email'))