aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Settings
diff options
context:
space:
mode:
authorJake Nabasny <jake@nabasny.com>2023-11-28 11:01:52 -0500
committerRichard Steinmetz <richard@steinmetz.cloud>2024-05-30 12:01:13 +0200
commitf863290572ff91d9a8a8d6cb2ad819964c3a1426 (patch)
tree389883fb9a18bdb2dbcd466bd0f46fe9ff7b82b8 /apps/settings/lib/Settings
parent57a7f09a722c384cb3940c19ed2d00d5b9ec925c (diff)
downloadnextcloud-server-f863290572ff91d9a8a8d6cb2ad819964c3a1426.tar.gz
nextcloud-server-f863290572ff91d9a8a8d6cb2ad819964c3a1426.zip
feat(ldap): sync additional properties to profile and SAB
Synced from LDAP to profile: - Date of birth Synced from LDAP to SAB (via the profile): - Biography - Date of birth Original code by Jake Nabasny (GitHub: @slapcat) Co-authored-by: Jake Nabasny <jake@nabasny.com> Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'apps/settings/lib/Settings')
-rw-r--r--apps/settings/lib/Settings/Personal/PersonalInfo.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings/lib/Settings/Personal/PersonalInfo.php b/apps/settings/lib/Settings/Personal/PersonalInfo.php
index 8974d54d45e..5fc8b6957c8 100644
--- a/apps/settings/lib/Settings/Personal/PersonalInfo.php
+++ b/apps/settings/lib/Settings/Personal/PersonalInfo.php
@@ -167,6 +167,7 @@ class PersonalInfo implements ISettings {
'role' => $this->getProperty($account, IAccountManager::PROPERTY_ROLE),
'headline' => $this->getProperty($account, IAccountManager::PROPERTY_HEADLINE),
'biography' => $this->getProperty($account, IAccountManager::PROPERTY_BIOGRAPHY),
+ 'birthdate' => $this->getProperty($account, IAccountManager::PROPERTY_BIRTHDATE),
];
$accountParameters = [