diff --git a/templates/header.html b/templates/header.html
index 335f572e..fe4e7a5f 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -50,6 +50,6 @@
padding: 0 !important;
}
{% endverbatim %}{% endif %}
-{% if config.captcha.provider.hcaptcha %}
+{% if config.captcha.provider == 'hcaptcha' %}
{% endif %}