fixed attribute injection for password mails (146)

This commit is contained in:
Roland Gruber 2013-03-16 14:33:15 +00:00
parent 2977462c94
commit 678a77773b
1 changed files with 1 additions and 0 deletions

View File

@ -891,6 +891,7 @@ function extractDNSuffix($dn) {
* @return array list of arrays that can be used to create status messages
*/
function sendPasswordMail($pwd, $user) {
$user = array_change_key_case($user, CASE_LOWER);
// read mail data
$mailTo = $user['mail'][0];
$mailFrom = $_SESSION['config']->getLamProMailFrom();