diff --git a/core/logger.js b/core/logger.js index 37f4f319..83eac3ad 100644 --- a/core/logger.js +++ b/core/logger.js @@ -72,7 +72,7 @@ module.exports = class Log { return JSON.parse( JSON.stringify(obj).replace( // note that we match against key names here - /"(password|passwordConfirm|key|authCode)"\s?:\s?"([^"]+)"/, + /"(password|passwordConfirm|key|authCode)"\s?:\s?"([^"]+)"/g, (match, keyName) => { return `"${keyName}":"********"`; }