Skip to content
Snippets Groups Projects
Commit 44b3141c authored by Jeff Krug's avatar Jeff Krug Committed by Thijs Kinkhorst
Browse files

Fixed a bug in how %replace is handled when 'target' is specified to avoid...

Fixed a bug in how %replace is handled when 'target' is specified to avoid multiple attribute values
instead of replacing the attribute value.
parent ae4671d3
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ class sspmod_core_Auth_Process_AttributeAlter extends SimpleSAML_Auth_Processing
if ($this->subject === $this->target) {
$value = $new_value;
} else {
$attributes[$this->target][] = $new_value;
$attributes[$this->target] = array($new_value);
}
}
}
......
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