mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 20:08:34 +01:00
make users mailaddress available for use in applications, if it is found in ldap
This commit is contained in:
parent
2d9373d120
commit
3c919bba50
@ -77,6 +77,10 @@
|
|||||||
$this->data['account_lid'] = $allValues[0]['uid'][0];
|
$this->data['account_lid'] = $allValues[0]['uid'][0];
|
||||||
$this->data['firstname'] = $GLOBALS['phpgw']->translation->convert($allValues[0]['givenname'][0],'utf-8');
|
$this->data['firstname'] = $GLOBALS['phpgw']->translation->convert($allValues[0]['givenname'][0],'utf-8');
|
||||||
$this->data['lastname'] = $GLOBALS['phpgw']->translation->convert($allValues[0]['sn'][0],'utf-8');
|
$this->data['lastname'] = $GLOBALS['phpgw']->translation->convert($allValues[0]['sn'][0],'utf-8');
|
||||||
|
if(isset($allValues[0]['email'][0]))
|
||||||
|
{
|
||||||
|
$this->data['mailaddress'] = $allValues[0]['email'][0]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$this->data['account_dn'] = $allValues[0]['dn'];
|
$this->data['account_dn'] = $allValues[0]['dn'];
|
||||||
$this->data['fullname'] = $allValues[0]['cn'][0];
|
$this->data['fullname'] = $allValues[0]['cn'][0];
|
||||||
|
Loading…
Reference in New Issue
Block a user