From 268718e4b872d64fdb5949d11461f691425cb291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Mon, 16 Feb 2009 16:33:50 +0000 Subject: [PATCH] roll back revision 1272. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1273 44740490-163a-0410-bde0-09ae8108e29a --- modules/core/lib/Auth/Process/AttributeLimit.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/core/lib/Auth/Process/AttributeLimit.php b/modules/core/lib/Auth/Process/AttributeLimit.php index b5157276e..b8c7767de 100644 --- a/modules/core/lib/Auth/Process/AttributeLimit.php +++ b/modules/core/lib/Auth/Process/AttributeLimit.php @@ -58,6 +58,13 @@ class sspmod_core_Auth_Process_AttributeLimit extends SimpleSAML_Auth_Processing } } elseif (array_key_exists('attributes', $request['Destination'])) { $this->allowedAttributes = $request['Destination']['attributes']; + } else { + /* + * When no list of attributes is provided in filter config, and no + * attributes is listed in the destionation metadata, no filtering + * will be performed. Default behaviour is letting all attributes through + */ + return; } } -- GitLab