summary refs log tree commit diff
path: root/synapse/res/templates/recaptcha.html
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-04-13 11:36:29 -0400
committerGitHub <noreply@github.com>2023-04-13 11:36:29 -0400
commitd751f65e71bef80ec4181e4495c954551ddf33f7 (patch)
tree31d6526dd18ead73553caa5db623ad6116f0d887 /synapse/res/templates/recaptcha.html
parentImprove robustness when handling a perspective key response by deduplicating ... (diff)
downloadsynapse-d751f65e71bef80ec4181e4495c954551ddf33f7.tar.xz
Remove registration fallback code. (#15405)
The registration fallback is broken and unspecced. This removes it
since there is no plan to spec it.

Note that this does not modify the login fallback code.
Diffstat (limited to 'synapse/res/templates/recaptcha.html')
-rw-r--r--synapse/res/templates/recaptcha.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/res/templates/recaptcha.html b/synapse/res/templates/recaptcha.html
index f00992a24b..b80e5e8f24 100644
--- a/synapse/res/templates/recaptcha.html
+++ b/synapse/res/templates/recaptcha.html
@@ -3,7 +3,11 @@
 
 {% block header %}
 <script src="https://www.recaptcha.net/recaptcha/api.js" async defer></script>
-<link rel="stylesheet" href="/_matrix/static/client/register/style.css">
+<style type="text/css">
+  .g-recaptcha div {
+    margin: auto;
+  }
+</style>
 <script>
 function captchaDone() {
     document.getElementById('registrationForm').submit();