From 118252b7324f5b082348d3feba6e18f92076d6ae Mon Sep 17 00:00:00 2001
From: Jonas Leder <jonas@jonasled.de>
Date: Sun, 10 Nov 2019 01:26:28 +0100
Subject: [PATCH] fixed bug with recaptcha

---
 templates/home.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/home.html b/templates/home.html
index f3381d4..b074eb8 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -30,7 +30,7 @@
                   {% endif %}
                   <input id="short" name="short" type="text" placeholder="short name" value="{{short_url_prefilled}}"/>
 
-                  {% if recaptchaPrivateKey %}
+                  {% if recaptchaPublicKey %}
                   <button class="g-recaptcha" data-sitekey="{{recaptchaPublicKey}}" data-callback='onSubmit'>short</button>
                   {% else %}
                   <button>short</button>
-- 
GitLab