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

saml: Fix exception when unable to find metadata for an IdP.

Fixes issue 295.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2224 44740490-163a-0410-bde0-09ae8108e29a
parent 762d5c64
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source {
assert('is_string($entityId)');
if ($this->idp !== NULL && $this->idp !== $entityId) {
throw new SimpleSAML_Error_Exception('Cannot retrieve metadata for IdP ' . var_export($idp, TRUE) .
throw new SimpleSAML_Error_Exception('Cannot retrieve metadata for IdP ' . var_export($this->idp, TRUE) .
' because it isn\'t a valid IdP for this SP.');
}
......
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