mirror of
https://github.com/ViViDboarder/bitwarden_rs.git
synced 2024-11-21 20:56:37 +00: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