mirror of https://gitee.com/bigwinds/arangodb
changed to dot notation
This commit is contained in:
parent
9d49eb9d05
commit
3f8b2a4925
|
@ -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;
|
||||
|
|
|
@ -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 () {
|
||||
|
||||
|
|
Loading…
Reference in New Issue