forked from tinode/chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemail-password-reset-en.templ
62 lines (40 loc) · 1.57 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
{{/*
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 below to reset it. The link is valid for the next 24 hours only.</p>
<blockquote><a href="{{.HostUrl}}#reset?scheme={{.Scheme}}&token={{.Token}}">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}}&token={{.Token}}">{{.HostUrl}}#reset?scheme={{.Scheme}}&token={{.Token}}</a>
</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}}).
Click the link below to reset it. The link is valid for the next 24 hours only.
{{.HostUrl}}#reset?scheme={{.Scheme}}&token={{.Token}}
If you’re having trouble with clicking the link above, copy and paste it into your web browser.
{{- 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}}