-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
email-password-reset-en.templ
68 lines (44 loc) · 1.81 KB
/
email-password-reset-en.templ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{{/*
ENGLISH
This template defines contents of the password reset email.
See explanation in ./email-validation-en.templ
*/}}
{{define "subject" -}}
Reset Tinode password
{{- end}}
{{define "body_html" -}}
<html>
<body>
<p>Hello.</p>
<p>You recently requested to reset the password for your <a href="{{.HostUrl}}">Tinode</a> account.
Use the link or code below to reset it. The link and code are valid for the next 24 hours only.</p>
<blockquote><a href="{{.HostUrl}}#reset?scheme={{.Scheme}}&code={{.Code}}&cred={{.Cred}}">Click</a> to reset your password.</blockquote>
<p>If you’re having trouble with the link above, copy and paste the URL below into your web browser:</p>
<blockquote>
<a href="{{.HostUrl}}#reset?scheme={{.Scheme}}&code={{.Code}}&cred={{.Cred}}">{{.HostUrl}}#reset?scheme={{.Scheme}}&code={{.Code}}&cred={{.Cred}}</a>
</blockquote>
<p>Please enter the following code if prompted:</p>
<blockquote><big>{{.Code}}</big></blockquote>
{{with .Login}}
<p>In case you have forgotten, here is your login: {{.}}.</p>
{{end}}
<p>If you did not request a password reset, please ignore this message.</p>
<p><a href="https://tinode.co/">Tinode Team</a></p>
</body>
</html>
{{- end}}
{{define "body_plain" -}}
Hello.
You recently requested to reset the password for your Tinode account ({{.HostUrl}}).
Use the link or code below to reset it. The link and code are valid for the next 24 hours only.
{{.HostUrl}}#reset?scheme={{.Scheme}}&code={{.Code}}&cred={{.Cred}}
If you’re having trouble with clicking the link above, copy and paste it into your web browser.
Please enter the following code if prompted:
{{.Code}}
{{- with .Login}}
In case you have forgotten, here is your login: {{.}}.
{{end -}}
If you did not request a password reset, please ignore this message.
Tinode Team
https://tinode.co/
{{- end}}