aboutsummaryrefslogtreecommitdiffstats
path: root/whitelist.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2019-02-12 17:33:51 -0800
committerAdam Soltys <[email protected]>2019-02-12 17:33:51 -0800
commit8332aff7ad3d1d2654d9e9d6a0a38fb757f0f2c6 (patch)
tree4bc3f068a44877e00cb66b5c1edbf79328db0004 /whitelist.js
parent0507d752690dc3cdf38ab4d89277100700962c71 (diff)
downloadcoinos-server-8332aff7ad3d1d2654d9e9d6a0a38fb757f0f2c6.tar.gz
coinos-server-8332aff7ad3d1d2654d9e9d6a0a38fb757f0f2c6.zip
only return selected user attributes
Diffstat (limited to 'whitelist.js')
-rw-r--r--whitelist.js19
1 files changed, 19 insertions, 0 deletions
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',
+]