# Password reset letter

URL: https://samva.dev/templates/account-password-reset

A password reset written as a letter, with one reset button, when the link expires, where the request came from and what to do if it was not you.

## Guidance

- Pass the request details as a list of label and value, so the reader can tell their own request from someone else's. A short list of device, place and time and a longer one with the network address render from the same source.
- The note about other sessions is optional: omit it, as the default fixture does, and the reset action stands alone; long-content includes it. Supply the expiry as both a length and a clock time; your application creates the single-use link and enforces the expiry, and the template never reads the clock.
- It is written for Tallyhouse, a fictional invoicing app. There are no pictures to replace, since the letterhead is built in markup. The look lives in the theme tokens in starter.css and the design's stylesheet.

## Variables

| Variable | Meaning |
| --- | --- |
| account | Value for account. |
| expiresAt | Value for expires at. |
| expiresIn | Value for expires in. |
| otherSessions | Value for other sessions. |
| reference | Value for reference. |
| requestLines | Value for request lines. |
| resetUrl | Link for reset. |
| secureUrl | Link for secure. |
| supportEmail | Email address for support. |
