hide secret settings from logs
This commit is contained in:
parent
91ad375bed
commit
6506b04a0c
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ const settingsController = {
|
|||
},
|
||||
|
||||
async set (key, value, is_secret = false) {
|
||||
log.info(`SET ${key} ${value}`)
|
||||
log.info(`SET ${key} ${is_secret ? '*****' : value}`)
|
||||
try {
|
||||
const [setting, created] = await Setting.findOrCreate({
|
||||
where: { key },
|
||||
|
|
Loading…
Reference in a new issue