diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-02-18 14:10:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 14:10:03 -0500 |
commit | c77ccb67cf464abfb30d42f2ef870dc2bbf24366 (patch) | |
tree | d277a6da02c501410dc4cc157e5db297055210a5 /src/bin | |
parent | c32e1daefc51441ba1349e9ed9e64fe2b17d7c23 (diff) | |
parent | da0b7528c083318ad25d8cd9c2741fd6212edd26 (diff) | |
download | rbw-c77ccb67cf464abfb30d42f2ef870dc2bbf24366.tar.gz rbw-c77ccb67cf464abfb30d42f2ef870dc2bbf24366.zip |
Merge pull request #92 from fopina/client_cert
support for client certificates
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/rbw/commands.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/rbw/commands.rs b/src/bin/rbw/commands.rs index 1e522a7..45f9e0b 100644 --- a/src/bin/rbw/commands.rs +++ b/src/bin/rbw/commands.rs @@ -407,6 +407,7 @@ pub fn config_set(key: &str, value: &str) -> anyhow::Result<()> { "email" => config.email = Some(value.to_string()), "base_url" => config.base_url = Some(value.to_string()), "identity_url" => config.identity_url = Some(value.to_string()), + "client_cert_path" => config.client_cert_path = Some(value.to_string()), "lock_timeout" => { let timeout = value .parse() @@ -439,6 +440,7 @@ pub fn config_unset(key: &str) -> anyhow::Result<()> { "email" => config.email = None, "base_url" => config.base_url = None, "identity_url" => config.identity_url = None, + "client_cert_path" => config.client_cert_path = None, "lock_timeout" => { config.lock_timeout = rbw::config::default_lock_timeout(); } |