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/terms.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/terms.html')
-rw-r--r-- | synapse/res/templates/terms.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/res/templates/terms.html b/synapse/res/templates/terms.html index dfef9897ee..369ff446d2 100644 --- a/synapse/res/templates/terms.html +++ b/synapse/res/templates/terms.html @@ -8,6 +8,9 @@ <body> <form id="registrationForm" method="post" action="{{ myurl }}"> <div> + {% if error is defined %} + <p class="error"><strong>Error: {{ error }}</strong></p> + {% endif %} <p> Please click the button below if you agree to the <a href="{{ terms_url }}">privacy policy of this homeserver.</a> |