Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions server/emails/src/emails/customer_session_code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,18 @@ export function CustomerSessionCode({
}: schemas['CustomerSessionCodeProps']) {
return (
<Wrapper>
<Preview>
Here is your code to access your {organization.name} purchases
</Preview>
<Preview>Your code to access purchases for {organization.name}.</Preview>
<OrganizationHeader organization={organization} />
<IntroWithHi>
Here is your code to access your {organization.name}{' '}
Use the code below to access your purchases for {organization.name}.
<br />
<span className="font-bold">
This code is only valid for the next {code_lifetime_minutes} minutes.
</span>
</IntroWithHi>
<OTPCode code={code} />
<Section className="mt-6 border-t border-gray-200 pt-6">
<Text className="text-sm text-gray-600">
You should input this code at the following URL
</Text>
<Text className="text-sm text-gray-600">Enter this code at the following URL:</Text>
<Text className="text-sm">
<Link href={url} className="text-blue-600 underline">
{url}
Expand Down
Loading