From de04755a0a9f78bbe46b2146dae144e70b46e31d Mon Sep 17 00:00:00 2001 From: Bram Chen Date: Tue, 2 Jul 2019 22:40:07 +0800 Subject: [PATCH] Fix bug with not definded variable (#4049) Using the variable "resolveCredentialsFilepath" to provide a good debug information. --- core/modules/server/authenticators/basic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/server/authenticators/basic.js b/core/modules/server/authenticators/basic.js index df14139ed..9db9b91ff 100644 --- a/core/modules/server/authenticators/basic.js +++ b/core/modules/server/authenticators/basic.js @@ -41,7 +41,7 @@ BasicAuthenticator.prototype.init = function() { this.credentialsData = credentialsData; } } else { - return "Error: Unable to load user credentials from '" + credentialsFilepath + "'"; + return "Error: Unable to load user credentials from '" + resolveCredentialsFilepath + "'"; } } // Add the hardcoded username and password if specified