From 77842781dc3de31daac0ac31a5f1bf9c1c61593d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez=20Crespo?= <jaime.perez@uninett.no>
Date: Wed, 17 Oct 2018 16:00:15 +0200
Subject: [PATCH] Use twig templates.

---
 modules/core/lib/Controller.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/lib/Controller.php b/modules/core/lib/Controller.php
index abb26e6ee..6d17db639 100644
--- a/modules/core/lib/Controller.php
+++ b/modules/core/lib/Controller.php
@@ -70,7 +70,7 @@ class Controller
 
         $attributes = $auth->getAttributes();
 
-        $t = new \SimpleSAML\XHTML\Template($this->config, 'auth_status.php', 'attributes');
+        $t = new \SimpleSAML\XHTML\Template($this->config, 'auth_status.twig', 'attributes');
         $t->data['header'] = '{status:header_saml20_sp}';
         $t->data['attributes'] = $attributes;
         $t->data['nameid'] = !is_null($auth->getAuthData('saml:sp:NameID'))
-- 
GitLab