From 8332aff7ad3d1d2654d9e9d6a0a38fb757f0f2c6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 12 Feb 2019 17:33:51 -0800 Subject: only return selected user attributes --- whitelist.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 whitelist.js (limited to 'whitelist.js') diff --git a/whitelist.js b/whitelist.js new file mode 100644 index 00000000..776cdc42 --- /dev/null +++ b/whitelist.js @@ -0,0 +1,19 @@ +export default [ +'id', +'username', +'email', +'address', +'unit', +'symbol', +'currency', +'commission', +'title', +'balance', +'pending', +'name', +'pic', +'phone', +'phoneVerified', +'twofa', +'emailVerified', +] -- cgit v1.2.3