diff --git a/templates/header.html b/templates/header.html
index 7e3f9c54..27b1a31f 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -28,6 +28,6 @@
{% endif %}
{% endif %}
- {% if config.recaptcha %}
+ {% if config.captcha.mode == 'recaptcha' %}
{% endif %}