diff --git a/app/Console/Commands/LdapSync.php b/app/Console/Commands/LdapSync.php index 381ae900d974..78330cb6a3a7 100644 --- a/app/Console/Commands/LdapSync.php +++ b/app/Console/Commands/LdapSync.php @@ -317,9 +317,21 @@ public function handle() if($ldap_map["jobtitle"] != null){ $user->jobtitle = $item['jobtitle']; } + if($ldap_map["address"] != null){ + $user->address = $item['address']; + } + if($ldap_map["city"] != null){ + $user->city = $item['city']; + } + if($ldap_map["state"] != null){ + $user->state = $item['state']; + } if($ldap_map["country"] != null){ $user->country = $item['country']; } + if($ldap_map["zip"] != null){ + $user->zip = $item['zip']; + } if($ldap_map["dept"] != null){ $user->department_id = $department->id; }