diff --git a/lib/SimpleSAML/Auth/Simple.php b/lib/SimpleSAML/Auth/Simple.php index 0f52035722566ad1565327fc68f630273c8eca1b..c185e10a9ae74bb56dda0fdd2e9406c60d2254b5 100644 --- a/lib/SimpleSAML/Auth/Simple.php +++ b/lib/SimpleSAML/Auth/Simple.php @@ -175,7 +175,7 @@ class SimpleSAML_Auth_Simple { /* Authenticated. */ $session = SimpleSAML_Session::getInstance(); - return $session->getAttributes(); + return $session->getAuthData($this->authSource, 'Attributes'); }