fix: fmt and clippy

This commit is contained in:
silver 2023-08-06 18:11:07 +01:00
parent 47e62b9c46
commit 0b385cafab
3 changed files with 22 additions and 16 deletions

View file

@ -409,12 +409,12 @@ pub mod account {
ldap.extended(tmp).unwrap();
// user is already verified by being an active member on wolves
if let Err(e) = update_group(config, "skynet-users", &vec![username.to_string()], true).await {
println!("Couldnt add {} to skynet-users: {:?}", username, e)
}
// user is already verified by being an active member on wolves
if let Err(e) = update_group(config, "skynet-users", &vec![username.to_string()], true).await {
println!("Couldnt add {} to skynet-users: {:?}", username, e)
}
ldap.unbind()?;
ldap.unbind()?;
Ok(())
}