Merged changes from stable

This commit is contained in:
exe-cutor 2007-07-11 08:30:01 +00:00
parent f309632a05
commit 73f1e3b28b

View File

@ -87,7 +87,12 @@ class auth_plugin_shibboleth extends auth_plugin_base {
$search_attribs = array();
foreach ($attrmap as $key=>$value) {
// Check if attribute is present
if (!isset($_SERVER[$value])){
$result[$key] = '';
continue;
}
// Make usename lowercase
if ($key == 'username'){
$result[$key] = strtolower($this->get_first_string($_SERVER[$value]));
@ -224,4 +229,4 @@ class auth_plugin_shibboleth extends auth_plugin_base {
}
}
?>
?>