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

saml: Change entityId option to entityID.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1798 44740490-163a-0410-bde0-09ae8108e29a
parent 80b8a827
No related branches found
No related tags found
No related merge requests found
......@@ -48,8 +48,8 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source {
parent::__construct($info, $config);
/* For compatibility with code that assumes that $metadata->getString('entityid') gives the entity id. */
if (array_key_exists('entityId', $config)) {
$config['entityid'] = $config['entityId'];
if (array_key_exists('entityID', $config)) {
$config['entityid'] = $config['entityID'];
} else {
$config['entityid'] = $this->getMetadataURL();
}
......
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