Replace password with Asterix and Obelix
See: http://www.topkool.com/fr/wp-content/uploads/2012/10/asterix-et-obelix-017.jpg

@appinteractive 😆
This commit is contained in:
Robert Schäfer 2019-01-17 18:06:53 +01:00
parent 6340efbfc5
commit 918bd863ed

View File

@ -13,7 +13,7 @@ export default {
Query: async (resolve, root, args, context, info) => {
const result = await resolve(root, args, context, info)
return walkRecursive(result, ['password'], () => {
// replace password with asterix
// replace password with asterisk
return '*****'
})
}