aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel <[email protected]>2024-07-24 01:26:39 +0300
committerGitHub <[email protected]>2024-07-24 00:26:39 +0200
commitbc7ceb2ee3c1b5c50be136d10bc8e2e10e68002d (patch)
treeb6f7432ae013d83cda20399b3497b34674601a26 /src
parentb27e6e30c9687d41e5596be73346ce0ed626068d (diff)
downloadvaultwarden-bc7ceb2ee3c1b5c50be136d10bc8e2e10e68002d.tar.gz
vaultwarden-bc7ceb2ee3c1b5c50be136d10bc8e2e10e68002d.zip
Update crates & fix crate vulnerability (#4771)
- fixes GHSA-q445-7m23-qrmw by updating openssl to version 0.10.66
Diffstat (limited to 'src')
-rw-r--r--src/config.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/config.rs b/src/config.rs
index 6a3a3f78..1a41c9e8 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1334,14 +1334,7 @@ where
// And then load user templates to overwrite the defaults
// Use .hbs extension for the files
// Templates get registered with their relative name
- hb.register_templates_directory(
- path,
- DirectorySourceOptions {
- tpl_extension: ".hbs".to_owned(),
- ..Default::default()
- },
- )
- .unwrap();
+ hb.register_templates_directory(path, DirectorySourceOptions::default()).unwrap();
hb
}