1
0
Fork 0

changed to dot notation

This commit is contained in:
Frank Celler 2015-09-29 14:14:57 +02:00
parent 9d49eb9d05
commit 3f8b2a4925
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ var validatePassword = function (password) {
}
if (password === "ARANGODB_DEFAULT_ROOT_PASSWORD") {
password = require("process").env['ARANGODB_DEFAULT_ROOT_PASSWORD'] || "";
password = require("process").env.ARANGODB_DEFAULT_ROOT_PASSWORD || "";
}
return password;

View File

@ -46,7 +46,7 @@
var sprintf = internal.sprintf;
var db = internal.db;
var defaultRootPW = require("process").env['ARANGODB_DEFAULT_ROOT_PASSWORD'] || "";
var defaultRootPW = require("process").env.ARANGODB_DEFAULT_ROOT_PASSWORD || "";
function upgrade () {