Commit 70d78c60 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5877-altered-and-provided-attributes-should-be-editable' into '1.4-dev'

Resolve "Altered and provided attributes should be editable"

See merge request fusiondirectory/fd-plugins!372
parents 8bd8717c cb43b5d3
......@@ -39,12 +39,6 @@ class privateFormPage extends publicFormPage
}
}
}
/* Special case: eduPersonPrincipalName */
if (isset($_SERVER['HTTP_AUTH_'.strtoupper('eduPersonPrincipalName')])) {
$values['supannAccount']['supannRefId'] = array('{RENATER}'.$_SERVER['HTTP_AUTH_'.strtoupper('eduPersonPrincipalName')]);
$values['user']['uid'] = preg_replace('/@[^@]+$/', '', $_SERVER['HTTP_AUTH_'.strtoupper('eduPersonPrincipalName')]);
}
}
return parent::getPrefilledValues($values);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment