You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user wants to reset their password, the call to the backend returns 200 so the frontend thinks the email was sent,
but the email doesn't get sent: In the resend.com logs, it shows HTTP error 422 because the from field is missing in the payload:
When the user wants to reset their password, the call to the backend returns 200 so the frontend thinks the email was sent,
but the email doesn't get sent: In the resend.com logs, it shows HTTP error 422 because the
from
field is missing in the payload:I just saw that there's a TODO in the code to check the
sendResult
:t4-app/packages/api/src/auth/user.ts
Line 224 in 325b5e5
In this case,
from
was missing because it's passed like thist4-app/packages/api/src/auth/user.ts
Line 214 in 325b5e5
and
PUBLIC_SUPPORT_EMAIL
was undefined.So we could use this issue to cover both:
sendResult
: In case of HTTP error, forward that so that the frontend doesn't think the email got sent when it didn'tPUBLIC_SUPPORT_EMAIL
andRESEND_API_KEY
GH action secrets (.github/workflows/backend.yml
) to be forwarded to the CF deployment, like:@rmarscher
The text was updated successfully, but these errors were encountered: