feat: user_rework (todo -> GetAll)
This commit is contained in:
@@ -3,9 +3,10 @@ package mailer
|
||||
import "embed"
|
||||
|
||||
const (
|
||||
FromName = "LK API"
|
||||
maxRetries = 3
|
||||
UserWelcomeTemplate = "user_activation.tmpl"
|
||||
FromName = "LK API"
|
||||
maxRetries = 3
|
||||
UserWelcomeTemplate = "user_activation.tmpl"
|
||||
ForgotPasswordTemplate = "forgot_password.tmpl"
|
||||
)
|
||||
|
||||
//go:embed "templates"
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{{define "subject"}} Reset Your Password - {{.ServiceName}} {{end}}
|
||||
|
||||
{{define "body"}}
|
||||
<!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>Hello {{.Username}},</p>
|
||||
|
||||
<p>We received a request to reset your password. If you didn't make this request, you can ignore this email.</p>
|
||||
|
||||
<p>To reset your password, click on the link below:</p>
|
||||
|
||||
<p><a href="{{.UpdateURL}}">{{.UpdateURL}}</a></p>
|
||||
|
||||
<p>If you want to reset your password manually, copy and paste the link above into your browser.</p>
|
||||
|
||||
<p>If you have any questions or need assistance, please contact our support team.</p>
|
||||
|
||||
<p>Thanks,</p>
|
||||
<p>The {{.ServiceName}} Team</p>
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user