Skip to content
Snippets Groups Projects
Commit 8b4373b6 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fixing user ID to be single valued when hashing in consent module

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@404 44740490-163a-0410-bde0-09ae8108e29a
parent e37cf3eb
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ class SimpleSAML_Consent_Consent {
$userid_attributename . '] was not available.');
}
$userid = $this->attributes[$userid_attributename];
$userid = $this->attributes[$userid_attributename][0];
return hash('sha1', $userid . $this->salt . $this->getIdPID() );
}
......
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