b2e4fde63a
Fix tests Expose email reminder setting through jwt Set reminders on by default Fix lint Make user email configurable Expose email reminder setting through /info Don't try to send any reminders if none were found More spacing for buttons Fix db time format Enable reminders by default Make emails look more like the frontend Add config to disable it Add sending emaisl Add getting all task users and reminding them Add getting the next reminder in a cron Move task reminder to separate file Add cron Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/743 Co-Authored-By: konrad <konrad@kola-entertainments.de> Co-Committed-By: konrad <konrad@kola-entertainments.de>
14 lines
No EOL
907 B
Cheetah
14 lines
No EOL
907 B
Cheetah
{{template "mail-header.tmpl" .}}
|
|
<p>
|
|
Hi {{.User.Username}},<br>
|
|
<br>
|
|
To reset your password, click the link below:
|
|
</p>
|
|
<a href="{{.FrontendURL}}?userPasswordReset={{.User.PasswordResetToken}}" title="Reset your password" style="-webkit-box-shadow: 0.3em 0.3em 1em #b2d0ff; box-shadow: 0.3em 0.3em 1em #b2d0ff; background-color: #1973ff; border-color: transparent; color: #fff; text-decoration: none; text-align: center; text-rendering: optimizelegibility; text-transform: uppercase; font-weight: bold; font-size: 14px; padding: 10px 14px; margin: 10px auto; border-radius: 4px; user-select: none; display: block; width: 280px;font-family:sans-serif">
|
|
Reset your password
|
|
</a>
|
|
<p>
|
|
If the button above doesn't work, copy the url below and paste it in your browsers address bar:<br/>
|
|
{{.FrontendURL}}?userPasswordReset={{.User.PasswordResetToken}}
|
|
</p>
|
|
{{template "mail-footer.tmpl"}} |