Skip to content
Snippets Groups Projects
Commit f1a27552 authored by Olav Morken's avatar Olav Morken
Browse files

exampleauth/Static: Fix bug in constructor.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@945 44740490-163a-0410-bde0-09ae8108e29a
parent bdb1181b
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ class sspmod_exampleauth_Auth_Source_Static extends SimpleSAML_Auth_Source { ...@@ -35,7 +35,7 @@ class sspmod_exampleauth_Auth_Source_Static extends SimpleSAML_Auth_Source {
/* Parse attributes. */ /* Parse attributes. */
try { try {
$this->attributes = SimpleSAML_Utilities::parseAttributes($attributes); $this->attributes = SimpleSAML_Utilities::parseAttributes($config);
} catch(Exception $e) { } catch(Exception $e) {
throw new Exception('Invalid attributes for authentication source ' . throw new Exception('Invalid attributes for authentication source ' .
$this->authId . ': ' . $e->getMessage()); $this->authId . ': ' . $e->getMessage());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment