1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-11 13:32:38 +01:00

Fix .env path traversal issue

This commit is contained in:
Daniel García 2019-02-06 14:54:39 +01:00
parent a72809b225
commit 89840790e7
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A

View File

@ -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();
$($(