dbmodel - allow connection from env variables

This commit is contained in:
Jan Prochazka
2024-10-01 11:07:12 +02:00
parent ab28a06bef
commit ef5e30df3d
2 changed files with 13 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ const platformInfo = {
(!processArgs.listenApiChild && !isNpmDist) || !!process.env.SHELL_CONNECTION || !!isElectron() || !!isDbModel,
allowShellScripting:
(!processArgs.listenApiChild && !isNpmDist) || !!process.env.SHELL_SCRIPTING || !!isElectron() || !!isDbModel,
allowConnectionFromEnvVariables: !!isDbModel,
defaultKeyfile: path.join(os.homedir(), '.ssh/id_rsa'),
};