From cf467cfbf9e088c9851ff9f129c2aae5078f4758 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Fri, 17 May 2019 13:24:41 +0200 Subject: [PATCH] Add reminder to remove workaround-code --- lib/SimpleSAML/Utils/EMail.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/SimpleSAML/Utils/EMail.php b/lib/SimpleSAML/Utils/EMail.php index 1bfd67b86..add2e6503 100644 --- a/lib/SimpleSAML/Utils/EMail.php +++ b/lib/SimpleSAML/Utils/EMail.php @@ -252,6 +252,9 @@ class EMail */ public function generateBody($template) { + // Force mail template to be rendered by Twig, even when using oldui + // Replace this with the following line of code in 2.0 + // $config = Configuration::getInstance(); $config = Configuration::loadFromArray([ 'usenewui' => true, ]); -- GitLab