server: add support for creating a user with attributes

This commit is contained in:
Valentin Tolmer
2023-09-25 01:18:02 +02:00
committed by nitnelave
parent 81204dcee5
commit 3fadfb1944
4 changed files with 30 additions and 3 deletions

View File

@@ -711,6 +711,7 @@ impl<Backend: BackendHandler + LoginHandler + OpaqueHandler> LdapHandler<Backend
code: LdapResultCode::ConstraintViolation,
message: format!("Invalid JPEG photo: {:#?}", e),
})?,
..Default::default()
})
.await
.map_err(|e| LdapError {