diff options
author | Callum Brown <callum@calcuode.com> | 2021-08-18 13:13:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-18 08:13:35 -0400 |
commit | 6e613a10d072c32e72d6b97b2d178bb840769f3e (patch) | |
tree | 0dec01aa171113e8fc9d5ca5cf7a1069edc50deb /synapse/res/templates/recaptcha.html | |
parent | Refactor `on_receive_pdu` code (#10615) (diff) | |
download | synapse-6e613a10d072c32e72d6b97b2d178bb840769f3e.tar.xz |
Display an error page during failure of fallback UIA. (#10561)
Diffstat (limited to 'synapse/res/templates/recaptcha.html')
-rw-r--r-- | synapse/res/templates/recaptcha.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/res/templates/recaptcha.html b/synapse/res/templates/recaptcha.html index 63944dc608..b3db06ef97 100644 --- a/synapse/res/templates/recaptcha.html +++ b/synapse/res/templates/recaptcha.html @@ -16,6 +16,9 @@ function captchaDone() { <body> <form id="registrationForm" method="post" action="{{ myurl }}"> <div> + {% if error is defined %} + <p class="error"><strong>Error: {{ error }}</strong></p> + {% endif %} <p> Hello! We need to prevent computer programs and other automated things from creating accounts on this server. |