ldap: add an option to silence unknown fields in the config
This commit is contained in:
committed by
nitnelave
parent
a0b0b455ed
commit
1efab58d0c
@@ -75,6 +75,10 @@ pub struct Configuration {
|
||||
pub ldap_user_pass: SecUtf8,
|
||||
#[builder(default = r#"String::from("sqlite://users.db?mode=rwc")"#)]
|
||||
pub database_url: String,
|
||||
#[builder(default)]
|
||||
pub ignored_user_attributes: Vec<String>,
|
||||
#[builder(default)]
|
||||
pub ignored_group_attributes: Vec<String>,
|
||||
#[builder(default = "false")]
|
||||
pub verbose: bool,
|
||||
#[builder(default = r#"String::from("server_key")"#)]
|
||||
|
||||
Reference in New Issue
Block a user