diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-02-24 09:53:30 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-02-24 09:53:30 +0000 |
commit | 2eeb8ec4fa0803b98b7f9b86c68d3f4f4c13c6ec (patch) | |
tree | 0c1b1a135193b60614d1a2d3678fa45f4a9d5d34 /static/client/register/js/register.js | |
parent | Trailing comma (diff) | |
download | synapse-2eeb8ec4fa0803b98b7f9b86c68d3f4f4c13c6ec.tar.xz |
Set user-visible error when the server is misconfigured.
Diffstat (limited to 'static/client/register/js/register.js')
-rw-r--r-- | static/client/register/js/register.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/client/register/js/register.js b/static/client/register/js/register.js index 38408f731f..b62763a293 100644 --- a/static/client/register/js/register.js +++ b/static/client/register/js/register.js @@ -23,6 +23,7 @@ var setupCaptcha = function() { var public_key = window.matrixRegistrationConfig.recaptcha_public_key; if (public_key === undefined) { console.error("No public key defined for captcha!"); + setFeedbackString("Misconfigured captcha for server. Contact server admin."); return; } Recaptcha.create(public_key, |