diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-08-21 11:19:22 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-08-21 11:19:44 +0100 |
commit | 9003eb4bcdc1c3e7803e937ff486e1138d06d055 (patch) | |
tree | e0c8581f862144129605776d7474d719b5ab4766 | |
parent | Micro-optimisations to get_auth_chain_ids (#8132) (diff) | |
download | synapse-9003eb4bcdc1c3e7803e937ff486e1138d06d055.tar.xz |
Add confirmation page template
-rw-r--r-- | synapse/res/templates/password_reset_confirmation.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/synapse/res/templates/password_reset_confirmation.html b/synapse/res/templates/password_reset_confirmation.html new file mode 100644 index 0000000000..41a16693ec --- /dev/null +++ b/synapse/res/templates/password_reset_confirmation.html @@ -0,0 +1,16 @@ +<html> +<head></head> +<body> +<!--Use a hidden form to resubmit the information necessary to reset the password--> +<form action="/_matrix/client/unstable/password_reset/{{ medium }}/submit_token_confirm" 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> + |