fix(vault): remove NODE_ENV=test and VITEST auto-enable of insecure fallback so only explicit opt-in unlocks it
This commit is contained in:
1 parent
cfe5f9ff73
commit
aa1afd0db2
1 file changed
+1
-5
+1
-5
@@ -87,10 +87,6 @@ export class SecretVault {
|
||||
}
|
||||
|
||||
private allowInsecureVaultFallback() {
|
||||
return (
|
||||
process.env.AGENTCOMPANY_ALLOW_INSECURE_VAULT === "true" ||
|
||||
process.env.NODE_ENV === "test" ||
|
||||
process.env.VITEST === "true"
|
||||
);
|
||||
return process.env.AGENTCOMPANY_ALLOW_INSECURE_VAULT === "true";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user