server: map email and display_name from attributes into user fields

This commit is contained in:
Valentin Tolmer
2024-08-27 23:57:52 +02:00
committed by nitnelave
parent b1384818d2
commit 6cf0f6df06
5 changed files with 66 additions and 23 deletions

View File

@@ -189,7 +189,7 @@ impl TryFrom<ResultEntry> for User {
Ok(User::new(
crate::lldap::CreateUserInput {
id,
email,
email: Some(email),
display_name,
first_name,
last_name,