mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-24 07:19:27 -05:00
a3a90ee031
This PR adds a confirmation step to resetting your user password between clicking the link in your email and your password actually being reset. This is to better align our password reset flow with the industry standard of requiring a confirmation from the user after email validation.
17 lines
666 B
HTML
17 lines
666 B
HTML
<html>
|
|
<head></head>
|
|
<body>
|
|
<!--Use a hidden form to resubmit the information necessary to reset the password-->
|
|
<form method="post">
|
|
<input type="hidden" name="sid" value="{{ sid }}">
|
|
<input type="hidden" name="token" value="{{ token }}">
|
|
<input type="hidden" name="client_secret" value="{{ client_secret }}">
|
|
|
|
<p>You have requested to <strong>reset your Matrix account password</strong>. Click the link below to confirm this action. <br /><br />
|
|
If you did not mean to do this, please close this page and your password will not be changed.</p>
|
|
<p><button type="submit">Confirm changing my password</button></p>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
|