The reset password button generates a temporary random password which expires after 1 day and is sent to the email address of the user. The temporary password does not work as soon as a new password has been set. The trytond-admin asks the email address for admin user and has an option to set the admin email and to reset its password. issue7037 review41761002
23 lines
1.1 KiB
HTML
23 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns:py="http://genshi.edgewall.org/">
|
|
<head>
|
|
<title>Reset Password</title>
|
|
</head>
|
|
<body>
|
|
<div style="display: block; text-align: center">
|
|
<div>
|
|
<h1>Reset Password</h1>
|
|
<p>The password for your account, <strong>${record.login}</strong>, has been reset.<br/>
|
|
You must set a new one from the user's preferences.<br/>
|
|
You can connect with this temporary password <strong>${record.password_reset}</strong> to</p>
|
|
<a href="tryton://${hostname}/${database}">tryton://${hostname}/${database}</a><br/>
|
|
<a href="https://${hostname}/#${database}">https://${hostname}/#${database}</a><br/>
|
|
</div>
|
|
<hr style="margin-top: 20px; border-style: solid none none; border-color: #EEE"></hr>
|
|
<div style="font-size: 80%; color: #777">
|
|
<p>The password will expire at <time datetime="${record.password_reset_expire.isoformat()}">${expire} UTC</time>.</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|