admin/users: force password reset (now lasts for 24 hours), send email, show expiration

This commit is contained in:
Philippe Loctaux 2023-05-03 23:46:40 +02:00
parent e600405f22
commit f8afea4e70
9 changed files with 288 additions and 12 deletions

View file

@ -18,7 +18,7 @@
<mj-text>
<h2>Reset password</h2>
<p>You recently requested to reset the password of your ezidam account.</p>
<p>Use the button below to reset it. This message will expire in {{ token_duration }} minutes.</p>
<p>Use the button below to reset it. This message will expire in {{ token_duration }} hours.</p>
</mj-text>
<mj-button href="{{ reset_password_url }}" background-color="#3a88fe">Reset your password</mj-button>
<mj-text>