From 2bfaaef9547baa8cb71b7f36553c3a9863289f1e Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Wed, 13 Apr 2016 13:01:15 +0200
Subject: [PATCH] Errors displayed to the user should be anonymized.

---
 lib/SimpleSAML/Error/Error.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Error/Error.php b/lib/SimpleSAML/Error/Error.php
index eb21fc578..7689d5f75 100644
--- a/lib/SimpleSAML/Error/Error.php
+++ b/lib/SimpleSAML/Error/Error.php
@@ -206,7 +206,7 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
      */
     protected function saveError()
     {
-        $data = $this->format();
+        $data = $this->format(true);
         $emsg = array_shift($data);
         $etrace = implode("\n", $data);
 
-- 
GitLab