diff --git a/cookbook/templates/system.html b/cookbook/templates/system.html index f930be4a7..c17cc7794 100644 --- a/cookbook/templates/system.html +++ b/cookbook/templates/system.html @@ -40,6 +40,21 @@

+

{% trans 'Secret Key' %} {% if secret_key %} + {% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}

+ {% if secret_key %} + {% blocktrans %} + You do not have a SECRET_KEY configured in your .env file. Django defaulted to the standard key + provided with the installation which is publicly know and insecure! Please set + SECRET_KEY int the .env configuration file. + {% endblocktrans %} + {% else %} + {% trans 'Everything is fine!' %} + {% endif %} +
+
+

{% trans 'Debug Mode' %} {% if debug %} {% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}