Merge pull request #3677 from andrewshadura/master

Use recaptcha_ajax.js directly from Google
pull/14/head
Richard van der Hoff 6 years ago committed by GitHub
commit 8226e5597a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/1932.bugfix
  2. 2
      synapse/static/client/register/index.html
  3. 195
      synapse/static/client/register/js/recaptcha_ajax.js

@ -0,0 +1 @@
Don’t ship recaptcha_ajax.js, use it directly from Google

@ -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>

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save