mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-22 19:02:54 +01:00
Fix .env path traversal issue
This commit is contained in:
parent
a72809b225
commit
89840790e7
@ -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 New Issue
Block a user