healthchecks_healthchecks/templates/emails/sudo-code-body-text.html
Pēteris Caune e3aedd3b03
Add require_sudo_mode decorator
Planning to use it for sensitive operations (add/remove security keys),
change email, change password, close account.

The decorator sends a six-digit confirmation code to user's email
and renders a form for entering it back. If the user enters the
correct code, the decorators sets a sudo=active marker in
user's session, valid for 30 minutes.
2020-11-13 11:08:06 +02:00

13 lines
246 B
HTML

{% load hc_extras %}
Hello,
We send a confirmation code before performing sensitive actions on {% site_name%}.
Your confirmation code is: {{ sudo_code }}
Note: this code is only valid for 15 minutes.
--
All the Best,
The {% site_name %} Team