summary refs log tree commit diff
path: root/synapse/static/client/register/index.html
diff options
context:
space:
mode:
authorAndrej Shadura <andrew.shadura@collabora.co.uk>2018-08-10 13:22:39 +0200
committerAndrej Shadura <andrew.shadura@collabora.co.uk>2018-08-10 13:36:14 +0200
commitc75b71a397d91c013a65a7f57d2c13199cf4c204 (patch)
treedc5981b1d8a1c776dcdf8aede17d1bdb2ea8b815 /synapse/static/client/register/index.html
parent0.33.2 changelog (diff)
downloadsynapse-c75b71a397d91c013a65a7f57d2c13199cf4c204.tar.xz
Use recaptcha_ajax.js directly from Google
The script recaptcha_ajax.js contains minified non-free code which
we probably cannot redistribute. Since it talks to Google servers
anyway, it is better to just download it from Google directly instead
of shipping it.

This fixes #1932.
Diffstat (limited to 'synapse/static/client/register/index.html')
-rw-r--r--synapse/static/client/register/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/static/client/register/index.html b/synapse/static/client/register/index.html
index 600b3ee41e..886f2edd1f 100644
--- a/synapse/static/client/register/index.html
+++ b/synapse/static/client/register/index.html
@@ -4,7 +4,7 @@
 <meta name='viewport' content='width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0'> 
 <link rel="stylesheet" href="style.css">
 <script src="js/jquery-2.1.3.min.js"></script>
-<script src="js/recaptcha_ajax.js"></script>
+<script src="https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
 <script src="register_config.js"></script>
 <script src="js/register.js"></script>
 </head>