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

Store_SQL: Fix deletion of keys from SQL.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2718 44740490-163a-0410-bde0-09ae8108e29a
parent affc49bc
No related branches found
No related tags found
No related merge requests found
......@@ -306,6 +306,10 @@ class SimpleSAML_Store_SQL extends SimpleSAML_Store {
assert('is_string($type)');
assert('is_string($key)');
if (strlen($key) > 50) {
$key = sha1($key);
}
$data = array(
'_type' => $type,
'_key' => $key,
......
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