forked from tsuru/tsuru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.go
30 lines (18 loc) · 956 Bytes
/
data.go
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
// Copyright 2013 tsuru authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package auth
import "text/template"
var resetEmailData = template.Must(template.New("reset").Parse(`Subject: [Tsuru] Password reset process
To: {{.UserEmail}}
Someone, hopefully you, requested to reset your password on tsuru. You will
need to use the following token to finish this process:
{{.Token}}
If you think this is email is wrong, just ignore it.`))
var passwordResetConfirm = template.Must(template.New("reset").Parse(`Subject: [Tsuru] Password successfuly redefined
To: {{.email}}
Greetings!
This message is the confirmation that your password has been redefined. The new password is:
{{.password}}
Use it to authenticate with Tsuru server, and change it later.`))
var passwordChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_@#$%^&*()~[]{}?=-+,.<>:;`"