mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-11-22 03:06:27 +00:00
Fix new linting error (thanks clippy!)
This commit is contained in:
parent
96d7483d31
commit
db03a5299f
@ -94,9 +94,9 @@ fn search_entries(config: &config::Config) -> Result<Vec<SearchEntry>, AnyError>
|
|||||||
let (results, _res) = ldap
|
let (results, _res) = ldap
|
||||||
.with_search_options(SearchOptions::new().deref(DerefAliases::Always))
|
.with_search_options(SearchOptions::new().deref(DerefAliases::Always))
|
||||||
.search(
|
.search(
|
||||||
&config.get_ldap_search_base_dn().as_str(),
|
config.get_ldap_search_base_dn().as_str(),
|
||||||
Scope::Subtree,
|
Scope::Subtree,
|
||||||
&config.get_ldap_search_filter().as_str(),
|
config.get_ldap_search_filter().as_str(),
|
||||||
fields,
|
fields,
|
||||||
)
|
)
|
||||||
.context("LDAP search failure")?
|
.context("LDAP search failure")?
|
||||||
|
Loading…
Reference in New Issue
Block a user