From 2528382a0723888f2041c76c7c010fc1c54e953c Mon Sep 17 00:00:00 2001 From: Douglas Barone Date: Wed, 17 Nov 2021 07:09:11 -0400 Subject: [PATCH] Show user displayName on log --- server/src/resolvers/Mutation/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/resolvers/Mutation/index.js b/server/src/resolvers/Mutation/index.js index 908a77f..965611f 100644 --- a/server/src/resolvers/Mutation/index.js +++ b/server/src/resolvers/Mutation/index.js @@ -19,7 +19,7 @@ const Mutation = { async replacePassword(_, { data }, { auth }) { logInfo({ tags: ['replacePassword', 'user'], - message: `Usuário ${auth.sAMAccountName} está trocando a senha do usuário ${data.username}` + message: `Usuário ${auth.sAMAccountName} (${auth.displayName}) está trocando a senha do usuário ${data.username}` }) return replacePassword(data.username, data.newPassword)