diff --git a/templates/includes/header.php b/templates/includes/header.php index c84dcb942c7d587d7fb1452ad7ee00301f193d0d..6ddad9279fe0ffe99305c0dcde30b288a20bbd16 100644 --- a/templates/includes/header.php +++ b/templates/includes/header.php @@ -206,3 +206,7 @@ if (!empty($this->data['htmlinject']['htmlContentPre'])) { echo $c; } } +$config = \SimpleSAML\Configuration::getInstance(); +if(! $config->getBoolean('production', true)) { + echo '<div class="caution">' . $this->t('{preprodwarning:warning:warning}'). '</div>'; +}