mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-12 04:52:47 +01:00
Fix .env path traversal issue
This commit is contained in:
parent
a72809b225
commit
89840790e7
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ macro_rules! make_config {
|
|||
|
||||
impl ConfigBuilder {
|
||||
fn from_env() -> Self {
|
||||
dotenv::dotenv().ok();
|
||||
dotenv::from_path(".env").ok();
|
||||
|
||||
let mut builder = ConfigBuilder::default();
|
||||
$($(
|
||||
|
|
Loading…
Reference in a new issue