@@ -0,0 +1,59 @@
|
||||
{{define "subject"}}Welcome to Gardomatic!{{end}}
|
||||
|
||||
{{define "plainBody"}}
|
||||
Hi,
|
||||
|
||||
Thanks for signing up for a Gardomatic account. We're excited to have you on board!
|
||||
|
||||
For future reference, your user ID number is {{.userID}}.
|
||||
|
||||
{{if .activationURL}}Activate your account using this link:
|
||||
|
||||
{{.activationURL}}
|
||||
|
||||
Alternatively, enter this activation token on the activation page:
|
||||
{{.activationToken}}
|
||||
{{else}}Please send a request to the `PUT /v1/users/activated` endpoint with the following JSON
|
||||
body to activate your account:
|
||||
|
||||
{"token": "{{.activationToken}}"}
|
||||
{{end}}
|
||||
|
||||
Please note that this is a one-time use token and it will expire in 3 days.
|
||||
|
||||
Thanks,
|
||||
|
||||
The Gardomatic 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>Thanks for signing up for a Gardomatic account. We're excited to have you on board!</p>
|
||||
<p>For future reference, your user ID number is {{.userID}}.</p>
|
||||
{{if .activationURL}}
|
||||
<p><a href="{{.activationURL}}">Activate your Gardomatic account</a></p>
|
||||
<p>Alternatively, enter this activation token on the activation page:</p>
|
||||
<pre><code>{{.activationToken}}</code></pre>
|
||||
{{else}}
|
||||
<p>Please send a request to the <code>PUT /v1/users/activated</code> endpoint with the
|
||||
following JSON body to activate your account:</p>
|
||||
<pre><code>
|
||||
{"token": "{{.activationToken}}"}
|
||||
</code></pre>
|
||||
{{end}}
|
||||
<p>Please note that this is a one-time use token and it will expire in 3 days.</p>
|
||||
<p>Thanks,</p>
|
||||
<p>The Gardomatic Team</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user