1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-07-19 02:28:23 +00:00

check if SENDMAIL_COMMAND is valid using 'which' crate

This commit is contained in:
soruh 2023-01-25 22:54:50 +01:00
commit 8cc6dac893
3 changed files with 36 additions and 20 deletions

12
Cargo.lock generated
View file

@ -3230,6 +3230,7 @@ dependencies = [
"url",
"uuid",
"webauthn-rs",
"which",
"yubico",
]
@ -3396,6 +3397,17 @@ dependencies = [
"untrusted",
]
[[package]]
name = "which"
version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269"
dependencies = [
"either",
"libc",
"once_cell",
]
[[package]]
name = "widestring"
version = "0.5.1"