39 lines
1.1 KiB
Cheetah
39 lines
1.1 KiB
Cheetah
{{define "subject"}}Reset your Greenlight password{{end}}
|
|
|
|
{{define "plainBody"}}
|
|
Hi,
|
|
|
|
Please send a `PUT /v1/users/password` request with the following JSON body to set a new password:
|
|
|
|
{"password": "your new password", "token": "{{.passwordResetToken}}"}
|
|
|
|
Please note that this is a one-time use token and it will expire in 45 minutes. If you need
|
|
another token please make a `POST /v1/tokens/password-reset` request.
|
|
|
|
Thanks,
|
|
|
|
The Greenlight Team
|
|
{{end}}
|
|
|
|
{{define "htmlBody"}}
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
</head>
|
|
<body>
|
|
<p>Hi,</p>
|
|
<p>Please send a <code>PUT /v1/users/password</code> request with the following JSON body to set a new password:</p>
|
|
<pre><code>
|
|
{"password": "your new password", "token": "{{.passwordResetToken}}"}
|
|
</code></pre>
|
|
<p>Please note that this is a one-time use token and it will expire in 45 minutes.
|
|
If you need another token please make a <code>POST /v1/tokens/password-reset</code> request.</p>
|
|
<p>Thanks,</p>
|
|
<p>The Greenlight Team</p>
|
|
</body>
|
|
</html>
|
|
{{end}}
|
|
|