diff options
| author | Adam Soltys <[email protected]> | 2023-09-20 15:56:07 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-09-20 15:56:07 -0700 |
| commit | f990bf00785bc39b861a743bfb2c2c7f9e94d42c (patch) | |
| tree | 95cab21e3c8a179fcf87604fcb654cf1f049baf2 | |
| parent | 27fa1e5479f285da62b761e36b7e7fb2b1319158 (diff) | |
| download | coinos-server-f990bf00785bc39b861a743bfb2c2c7f9e94d42c.tar.gz coinos-server-f990bf00785bc39b861a743bfb2c2c7f9e94d42c.zip | |
capture shopify attributes
| -rw-r--r-- | routes/users.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/routes/users.js b/routes/users.js index a890e4c3..0c4e8484 100644 --- a/routes/users.js +++ b/routes/users.js @@ -183,7 +183,7 @@ export default { try { l("updating user", user.username); - let { confirm, password, pin, newpin, username } = body; + let { confirm, password, pin, newpin, username, shopifyToken, shopifyStore } = body; if (user.pin && !(pin === user.pin)) throw new Error("Pin required"); if (typeof newpin !== "undefined") user.pin = newpin; @@ -219,7 +219,9 @@ export default { "salt", "seed", "tokens", - "twofa" + "twofa", + "shopifyToken", + "shopifyStore" ]; for (let a of attributes) { |
