mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-12-22 09:07:34 +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
|
||||
.with_search_options(SearchOptions::new().deref(DerefAliases::Always))
|
||||
.search(
|
||||
&config.get_ldap_search_base_dn().as_str(),
|
||||
config.get_ldap_search_base_dn().as_str(),
|
||||
Scope::Subtree,
|
||||
&config.get_ldap_search_filter().as_str(),
|
||||
config.get_ldap_search_filter().as_str(),
|
||||
fields,
|
||||
)
|
||||
.context("LDAP search failure")?
|
||||
|
Loading…
Reference in New Issue
Block a user