diff --git a/Cargo.toml b/Cargo.toml index bc1bf5f..cb096e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "skynet_ldap_backend" version = "0.1.0" edition = "2021" + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[bin]] name = "update_data" diff --git a/src/methods/password_reset.rs b/src/methods/password_reset.rs index 49be47d..4332b61 100644 --- a/src/methods/password_reset.rs +++ b/src/methods/password_reset.rs @@ -196,7 +196,7 @@ async fn ldap_reset_pw(config: &Config, details: &AccountsReset, pass: &str) -> // if so then set password let tmp = PasswordModify { - // none as we are staying on the same connection + // none as we are staying on the same connection. user_id: Some(&dn), old_pass: None, new_pass: Some(pass),